mysql远程连接 Host * is not allowed to connect to this MySQL server
Posted 殷瑜泰
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了mysql远程连接 Host * is not allowed to connect to this MySQL server相关的知识,希望对你有一定的参考价值。
在本机登入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的主要内容,如果未能解决你的问题,请参考以下文章
远程连接MySQL提示“Host is not allowed to connected to this MySQL server”
转:mysql远程连接 Host * is not allowed to connect to this MySQL server
解决远程连接数据库:Host is not allowed to connect to this MySQL server
远程连接mysql报错:1130 - Host XXX is not allowed to connect to this MySQL server
mysql远程连接:ERROR 1130 (HY000): Host ‘*.*.*.*‘ is not allowed to connect to this MySQL server
mysql远程连接:ERROR 1130 (HY000): Host ‘*.*.*.*‘ is not allowed to connect to this MySQL server