Skip to content

Instantly share code, notes, and snippets.

@x2q
Created March 5, 2013 17:24
Show Gist options
  • Save x2q/5092076 to your computer and use it in GitHub Desktop.
Save x2q/5092076 to your computer and use it in GitHub Desktop.
UPDATE mysql.user SET Password=PASSWORD('a_new_password') WHERE User='root';
FLUSH PRIVILEGES;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment