Skip to content

Categories:

Reset Forgotten MySQL Root Password

# /etc/init.d/mysqld stop
# mysqld_safe --skip-grant-tables &
# mysql --user=root mysql
update user set Password=PASSWORD('new-password') where user='root';
flush privileges;
exit;

Lisainfo: http://www.cmdln.org/2008/02/09/reset-mysql-root-password/

Posted in Linux.

Tagged with .


0 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.



Some HTML is OK

or, reply to this post via trackback.


Refresh