Posted By

cbrant on 04/04/08


Tagged

mysql sql textmate password root


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

cbrant


Set MySQL root password


 / Published in: SQL
 

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

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

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

Report this snippet  

You need to login to post a comment.