Reset the Root Password for mysql

From Initq
Jump to: navigation, search

1. Log on to your system as Administrator.

2. mysqld_safe --skip-grant-tables

3. mysql --user=root mysql

4. update user set Password=PASSWORD('new-password') where user='root'; flush privileges; exit;

Personal tools