Return to Snippet

Revision: 5787
at June 30, 2008 18:46 by cbrant


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

Revision: 5786
at April 4, 2008 03:48 by cbrant


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

Initial URL
http://www.bytechemist.com/2008/06/30/set-mysql-root-password/

Initial Description
To reset the MySQL root password, login to the mysql shell and run the following commands.

Initial Title
Set MySQL root password

Initial Tags
mysql, sql, textmate

Initial Language
SQL