Skip to content

Instantly share code, notes, and snippets.

@selfish
Last active December 20, 2017 15:02
Show Gist options
  • Save selfish/c9442f1ddbc30b07f9a1 to your computer and use it in GitHub Desktop.
Save selfish/c9442f1ddbc30b07f9a1 to your computer and use it in GitHub Desktop.
UPDATE mysql.user SET Password=PASSWORD('MyNewPass') WHERE User='root';
FLUSH PRIVILEGES;
:: Stop SQ SERVER BEFORE!!
C:\mysql\bin\mysqld --init-file=C:\mysql-init.txt --console
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment