Skip to content

Instantly share code, notes, and snippets.

@dennysfredericci
Created September 3, 2012 02:36
Show Gist options
  • 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