C:Program FilesMySQLMySQL Server 5.6inmysqld --skip-grant-tables开启一新窗口:然后输入mysql -uroot -pupdate mysql.user set password=PASSWORD('新密码') where User='root';