进入D:\Database\MySQL8\bin中

  • mysql> use mysql;
  • mysql> select user,host from user;
  • mysql> alter user 'root'@'%' identified with mysql_native_password by 'root';
  • mysql> flush privileges;

Mysql8解决远程连接问题

  • 此时密码已经更改为root,可以使用IP登录

相关文章:

  • 2022-01-06
  • 2021-12-14
  • 2021-11-08
  • 2021-06-29
  • 2021-06-08
  • 2021-09-27
  • 2022-12-23
猜你喜欢
  • 2021-07-26
  • 2021-11-19
  • 2022-01-15
  • 2021-12-14
  • 2021-10-15
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案