解決辦
# /etc/init.d/mysql stop
# mysqld_safe --user=mysql --skip-grant-tables --skip-networking &
# mysql -u root mysql
# update mysql.user setpassword=password("icpdb") where User="root";
# FLUSH PRIVILEGES;
# quit
解決辦
# /etc/init.d/mysql stop
# mysqld_safe --user=mysql --skip-grant-tables --skip-networking &
# mysql -u root mysql
# update mysql.user setpassword=password("icpdb") where User="root";
# FLUSH PRIVILEGES;
# quit