Last active
August 29, 2015 14:08
-
-
Save andrejko/8b418e1acaf77646e448 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
sudo /etc/init.d/mysql stop | |
sudo /usr/sbin/mysqld --skip-grant-tables --skip-networking & | |
mysql -u root | |
UPDATE mysql.user SET Password=PASSWORD('') WHERE User='root'; | |
FLUSH PRIVILEGES; | |
exit; | |
sudo /etc/init.d/mysql restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment