标签:mysqld password amp mysq tables use 更改 update ble
在丢失root密码的时候,可以这样
要先停掉 mysql服务
mysqld_safe --skip-grant-tables&
mysql -u root mysql
mysql> UPDATE user SET password=PASSWORD("new password") WHERE user=‘root‘;
mysql> FLUSH PRIVILEGES;
标签:mysqld password amp mysq tables use 更改 update ble
原文地址:http://www.cnblogs.com/gpfeisoft/p/6079773.html