Skip to content

Instantly share code, notes, and snippets.

@tmoreira2020
Created July 21, 2011 21:17
Show Gist options
  • Save tmoreira2020/1098229 to your computer and use it in GitHub Desktop.
Save tmoreira2020/1098229 to your computer and use it in GitHub Desktop.
Changing MySQL password
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