PDA

View Full Version : [MySQL] Reset root password



hklcf
11-24-2008, 07:54 AM
Hey, i forget the root password of mysql, how can i reset the password?

When i use # /usr/bin/mysqladmin -u root password 'new-password' to reset the password, it show an error..


/usr/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: NO)'

smtalk
11-24-2008, 09:43 AM
http://help.directadmin.com/item.php?id=45