MySQL 忘记密码
# vim /etc/my.cnf
skip-grant-tables
# /etc/init.d/mysqld restart
#mysql -uroot
UPDATE user SET Password = password ('R5GK8B2XdxGrx2dC') WHERE User = 'root' ;
skip-grant-tables
# /etc/init.d/mysqld restart
#mysql -uroot
UPDATE user SET Password = password ('R5GK8B2XdxGrx2dC') WHERE User = 'root' ;

浙公网安备 33010602011771号