Created
December 3, 2015 04:50
-
-
Save amilabandara/12259098eeaaabe2d64d to your computer and use it in GitHub Desktop.
Change a Password for MySQL on Linux via Command Line
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
mysql -u root -p | |
use mysql; | |
update user set password=PASSWORD('your_new_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