Jun 28, 2010

access denied for user 'root'@'localhost' (using password: no)

access denied for user 'root'@'localhost' (using password: no)
on ubuntu after mysql install (sudo apt-get install mysql-server)


to enter/change password use:
mysqladmin -u root -p password yourpassword
(yourpassword <- goes here)


I've read other places you don't need the -p but on ubuntu you do!


see ya

No comments:

Post a Comment