Last active
December 23, 2015 07:09
-
-
Save ggdio/6599172 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--Create a .txt file | |
UPDATE mysql.user SET Password=PASSWORD('MyNewPass') WHERE User='root'; | |
FLUSH PRIVILEGES; | |
--Run the following command(OBS: replace the file_path) | |
%MYSQL_HOME%\bin\mysqld-nt --init-file=[FILE_PATH] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment