Sarge mysql-server Access denied for user: root@localhost
I'm having trouble installing the mysql-server on debian sarge. I've run apt-get install mysql-server, and ran mysql_install_db. When I try to set the root password for the mysql root I get:
mysqladmin -u root password error: 'Access denied for user: 'root@localhost' (Using password:NO)' Any help would be appreciated. Thanks. |
Run:
Code:
mysqladmin -u root password your-password Code:
shell> mysql -u root mysql |
I'm stupid I figured it out. Evidently I had previously set the mysql root password and trying to set it using mysqladmin -u root -p password gives an error because it is already set. I was able to log in using:
mysql -u root -p Enter password: And now it works fine. Too much late night programing. Laters |
All times are GMT -5. The time now is 10:36 PM. |