如果忘记了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;
- 上一篇 使用cmake编译luabind.
- 下一篇 Qt开发问答.
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;