Posted on

How to reset MySQL Password in Mac OS


1.  Stop the mysqld server.  Typically this can be done by from ‘System Preferences’ > MySQL > ‘Stop MySQL Server’

2.  Start the server in safe mode with privilege bypass

From a terminal:

Type the following:

3.  In a new terminal window:

Type the following, line by line:

4.  Close Terminal, and stop the mysql server again and restart it.