摘要:
#/usr/local/mysql/bin/mysql stop#/usr/local/mysql/bin/mysqld_safe --skip-grant-tables &#mysql -u root -p (无须输入密码)#USE mysql;#UPDATE user SET Password=password("newpassword") WHERE User="root";#FLUSH PRIVILEGES;#exit;#/usr/local/mysql/bin/mysql start 阅读全文