Return to Snippet

Revision: 64427
at August 7, 2013 18:25 by Aminreza


Initial Code
service mysql stop
/usr/bin/mysqld_safe --skip-grant-tables &
mysql --user=root mysql
    update user set Password=PASSWORD('new-password-here') WHERE User='root';
    flush privileges;
    exit
fg
Control + C
service mysql start

Initial URL
http://ubuntu.flowconsult.at/en/mysql-set-change-reset-root-password/

Initial Description
Reset MySQL root password

Initial Title
MySQL_reset_root_pass

Initial Tags
mysql, server

Initial Language
MySQL