如果忘记了mysql密码怎么办?

F:\wamp\bin\mysql\mysql5.6.12\bin\mysqld.exe --init-file=resetmysqlpass.txt
pause

 

UPDATE mysql.user SET Password=PASSWORD('root') WHERE User='root';
FLUSH PRIVILEGES;

Powered by Jekyll and Theme by solid

本站总访问量