mysql跳过密码登录

版权声明:江湖郎中 https://blog.csdn.net/qq_41570658/article/details/91490770

1.在 my.ini 或 my.cnf 的 [mysqld] 下添加 skip-grant-tables

2.重启mysql服务即可

@或者以下官方地址:

mysql 如何更改root密码 无需登录

猜你喜欢

转载自blog.csdn.net/qq_41570658/article/details/91490770