Skip to content

Instantly share code, notes, and snippets.

@b-ggs
Created January 7, 2018 17:07
Show Gist options
  • Save b-ggs/0094abec7dab4a5efaa122efc9749930 to your computer and use it in GitHub Desktop.
Save b-ggs/0094abec7dab4a5efaa122efc9749930 to your computer and use it in GitHub Desktop.
set mysql root password
use mysql;
update user set password=PASSWORD("password") where User='root';
flush privileges;
quit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment