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 [email protected]=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