Set MySQL root password


/ Published in: SQL
Save to your folder(s)

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


Copy this code and paste it in your HTML
  1. SET PASSWORD FOR root@localhost=PASSWORD('RootPasswordHere');
  2. FLUSH PRIVILEGES;

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

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.