- A+
所属分类:Linux相关
1 2 3 4 5 6 7 8 9 |
# /etc/init.d/mysql stop # mysqld_safe --user=mysql --skip-grant-tables --skip-networking & # mysql -u root mysql mysql> UPDATE user SET Password=PASSWORD('输入新设的密码') where USER='root'; mysql> FLUSH PRIVILEGES; mysql> quit # /etc/init.d/mysql restart # mysql -u root -p Enter password: <输入新设的密码> |
- 我的微信
- 扫一扫加我好友
-
- 微信公众号
- 谈点儿别的
-