Skip mysql password

Copyright: quack https://blog.csdn.net/qq_41570658/article/details/91490770

1. Add skip-grant-tables at the my.ini or my.cnf [mysqld]

2. Restart the mysql service to

 

@ Or below the official address:

How to change the mysql r OOT password without logging

Guess you like

Origin blog.csdn.net/qq_41570658/article/details/91490770