Reset Root Password For Mac

The passwords for all accounts on macOS Mojave 10.14, macOS Sierra, OSX 10.11 El Capitan, OSX 10.10 Yosemite, OSX 10.9 Mavericks and OSX 10.8 Mountain Lion including admin and standard user accounts can be reset and changed when booted from the Recovery Partition on macOS.

This post explains how to reset the MySQL root user on a Mac running OS 10.10. This procedure is for the case that you are unable to log in as the root user and need to reset the root user’s password. Note that there are 2 colored sets of examples. One is for MySQL installed by Brew. 1) Stop the MySQL server. Reset password with Apple ID If you have an Apple ID tied to your user account on Mac, you can use it to reset password from the login window. The option should be available by default. Otherwise, you can enable it in System Preferences Users & Groups Allows user to reset password using Apple ID.

Boot into Recovery Partition

Reboot into the Recovery Drive by choosing the ‘Apple‘ menu > RestartAcdsee 4.0. , hold down the ‘command’ + ‘r’ keys on the keyboard during the start up process, when you see the start up screen you can let go. When the machine boots eventually you will see the macOS or OS X Utilities screen.

Reset Root Password For Mac

Go to the Utilites menu and select Terminal

At the prompt type ‘resetpassword’ (hit enter)

This launches the Reset Password screen, select the Volume Hard Drive in the top part of the window pane, then for the user that you need to reset select the user account in the lower part then add and confirm the new password and click save, you get a confirmation screen and details about the keychain account.


Go to the Apple Menu and click Restart to boot back to the normal hard drive and the new password will take effect immediately.

Reset Root Password For Mac Catalina

If you are using macOS Mojave the screen you see is a little friendlier, just select the account you want to reset the password on and follow the instructions.