日期:2014-05-16  浏览次数:20717 次

修改mysql root的密码
mysql> UPDATE mysql.user SET password=PASSWORD(’新密码’) WHERE User=’root’;

mysql> FLUSH PRIVILEGES;

即可。