Skip to content

Instantly share code, notes, and snippets.

@oozzal
Created October 20, 2014 08:05
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 oozzal/47d273dfa10522216f51 to your computer and use it in GitHub Desktop.
Save oozzal/47d273dfa10522216f51 to your computer and use it in GitHub Desktop.
Reset mysql password (MAC):
> mysql.server stop
> mysql.server start --skip-grant-tables
> mysql
> update mysql.user set Password=PASSWORD('new_password') WHERE User='root'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment