J Cornelius

Change MySQL root password

This is the 'hands-on' way of changing the root password for your MySQL server. Get to a command prompt on the MySQL server and enter the following commands:

mysql -u root mysql > UPDATE user SET password=password('secret') WHERE user='root'; > flush privileges;

This should reset the password for you and then you can log in and get some real work done.

Published: Short URL: http://jc.cm/10/
Bookmark using Delicious Share on Tumblr Share on Posterous