Snippet: How To Set MySQL root password

Valic —  December 4, 2011 — Leave a comment

To reset the MySQL root password, login to the mysql shell and run the following commands:

SET PASSWORD FOR root@localhost=PASSWORD('RootPasswordHere');
FLUSH PRIVILEGES;

Valic

Posts Twitter Facebook

Editor in Chief at Debian-Tutorials, Linux enthusiast.

No Comments

Be the first to start the conversation.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.