解决办法
1、 修改用户密码
mysql> alter user ‘root‘@‘localhost‘ identified by ‘youpassword‘;
或者
mysql> set password=password("youpassword");
2、刷新权限
mysql> flush privileges;
原文地址:https://www.cnblogs.com/ljl-blog/p/11540015.html
时间: 2024-10-10 09:35:22
解决办法
1、 修改用户密码
mysql> alter user ‘root‘@‘localhost‘ identified by ‘youpassword‘;
或者
mysql> set password=password("youpassword");
2、刷新权限
mysql> flush privileges;
原文地址:https://www.cnblogs.com/ljl-blog/p/11540015.html