Last active
May 1, 2025 11:04
-
-
Save blackpioter/9fab195ca2d004e1b31bb37e0313f1c9 to your computer and use it in GitHub Desktop.
mysql CS
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: show mysql host,user,passwd | |
SELECT Host,user,password FROM mysql.user WHERE User = "root" ORDER BY (Host="localhost") ASC ; | |
## mysql: set empty root password | |
update user set password=PASSWORD("") where User='root'; | |
flush privileges; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment