Friday, May 8, 2015

How to Change the MySQL root Password in Linux or OSX via Command Line


How to Change the MySQL root Password in Linux or OSX via Command Line

Stop MySQL
Start it in safe mode:
This will be an ongoing command until the process is finished so open anothershell/terminal window, log in without a password:
Change the lowercase password to what you want – with single quotes.
Start MySQL

No comments:

Post a Comment