Skip to content

Instantly share code, notes, and snippets.

@oozzal
Created October 20, 2014 08:05
Show Gist options
  • 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