Skip to content

Instantly share code, notes, and snippets.

@haio
Created January 24, 2013 14:25
Show Gist options
  • Save haio/4622240 to your computer and use it in GitHub Desktop.
Save haio/4622240 to your computer and use it in GitHub Desktop.
MySQL change password
use mysql;
update user set password=password('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