当前位置:Gxlcms > 数据库问题 > mysql远程连接 Host * is not allowed to connect to this MySQL server

mysql远程连接 Host * is not allowed to connect to this MySQL server

时间:2021-07-01 10:21:17 帮助过:19人阅读

mysql后,更改"mysql"数据库里的"user"表里的"host"项,从"localhost"改为‘%‘

代码如下         

mysql>

mysql>use mysql;

mysql>select ‘host‘ from user where user=‘root‘;

#查看mysql库中的user表的host值(即可进行连接访问的主机/IP名称)

mysql远程连接 Host * is not allowed to connect to this MySQL server

标签:名称   nbsp   rom   mysql远程连接   local   mysql   oca   select   微软雅黑   

人气教程排行