https://blog.csdn.net/memory6364/article/details/82426052
mysqld --skip-grant-tables 回车
mysql> alter user 'root'@'localhost' identified by '123456';
刷新权限(必须步骤):flush privileges; 。
退出 quit;
https://blog.csdn.net/memory6364/article/details/82426052
mysqld --skip-grant-tables 回车
mysql> alter user 'root'@'localhost' identified by '123456';
刷新权限(必须步骤):flush privileges; 。
退出 quit;