Skip to content

Instantly share code, notes, and snippets.

@michelve
Last active March 26, 2017 16:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save michelve/137340ae4fb7dabd37f948181d8f2e09 to your computer and use it in GitHub Desktop.
Save michelve/137340ae4fb7dabd37f948181d8f2e09 to your computer and use it in GitHub Desktop.
mysql root login
sudo /usr/local/mysql/bin/mysql -u root
UPDATE mysql.user SET Password=PASSWORD('root') WHERE User='root';
FLUSH PRIVILEGES;
\q
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment