Skip to content

Instantly share code, notes, and snippets.

@dennysfredericci
Created September 3, 2012 02:36
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 dennysfredericci/3606346 to your computer and use it in GitHub Desktop.
Save dennysfredericci/3606346 to your computer and use it in GitHub Desktop.
Just change mysql password for any user...
USE mysql;
UPDATE user SET password=PASSWORD("root") WHERE user = 'root';
FLUSH PRIVILEGES;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment