Skip to content

Instantly share code, notes, and snippets.

@xuncheng
Created June 3, 2014 02:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xuncheng/a9d6d016b0f0b7c7b6c8 to your computer and use it in GitHub Desktop.
Save xuncheng/a9d6d016b0f0b7c7b6c8 to your computer and use it in GitHub Desktop.
reset mysql root password
# http://gistpages.com/2013/07/15/reset_mysql_root_password_on_mac_os
$ which mysqladmin
/usr/local/bin/mysqladmin
$ mysqladmin -u root -p password
Enter password:
New password:
Confirm new password:
# MySQL root password has been reset.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment