PDA

View Full Version : [ubuntu] mysqladmin unknown option



jargen
July 2nd, 2009, 07:21 AM
i try doing mysql -u root or any mysql command and i get this error:



mysql: unknown option '--The following values assume you have at least 32M ram'


i have 512 mb ram so memory shouldn't be a problem

matth@intermetamucil.com
July 2nd, 2009, 07:37 AM
Make sure this line is commented out in /etc/mysql/my.cnf

jargen
July 2nd, 2009, 07:43 AM
i commented out the line but now i get Error 1045 acces denied for user 'root'@'localhost'

matth@intermetamucil.com
July 2nd, 2009, 08:06 AM
You will need to use the root password you set when installing mysql.


# mysql -p -u root

jargen
July 2nd, 2009, 05:06 PM
thanks 5 days of work wasted to i simple error XD :P