Reset root password for MySQL

Posted In: blog |

1. First stop the MySQL service

2. Prepare w file, which contains new credentails:

3. Run the mysql_safe with the newly created file:

4. start the MySQL service

Complete guide can be found here: https://dev.mysql.com/doc/refman/5.0/en/resetting-permissions.html


Post Tags: linux | mysql |


Comments Off on Reset root password for MySQL