第一步找到C:\Windows\System32\cmd.exe 输入: mysqld --skip-grant-tables 再新开一个C:\Windows\System32\cmd.exe 输入: mysql -uroot