当前位置: 代码迷 >> 综合 >> mysql 别人无法连接问题
  详细解决方案

mysql 别人无法连接问题

热度:38   发布时间:2024-02-22 00:46:34.0

 use mysql;

update user set host = '%' where user = 'root'; flush privileges;

# 这里还是将密码设置为之前的设置的123456

alter user 'root'@'localhost' identified with mysql_native_password by '123456';

 use mysql;

  相关解决方案