ERROR 1130: Host '192.168.1.3' is not allowed to connect to this MySQL ERROR 1062 (23000): D

Posted cold、liu

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ERROR 1130: Host '192.168.1.3' is not allowed to connect to this MySQL ERROR 1062 (23000): D相关的知识,希望对你有一定的参考价值。

use mysql

mysql> select host, user from user;

将相应用户数据表中的host字段改成‘%‘;

 

update user set host=‘%‘ where user=‘root‘;

ERROR 1062 (23000): Duplicate entry ‘%-root‘ for key ‘PRIMARY‘ 不予理会

 

flush privileges;

重新远程连接OK

以上是关于ERROR 1130: Host '192.168.1.3' is not allowed to connect to this MySQL ERROR 1062 (23000): D的主要内容,如果未能解决你的问题,请参考以下文章

Mysql远程连接报错:SQL Error (1130): Host '192.168.6.128' is not allowed to connect to this MySQL s

ERROR 1130 (HY000): Host ‘192.168.3.238‘ is not allowed to connect to this MySQL server

mysql日常ERROR 1130: Host ‘192.168.1.3‘ is not allowed to connect to this MySQL server

mysql日常ERROR 1130: Host ‘192.168.1.3‘ is not allowed to connect to this MySQL server

MySQL——远程连接非本地MySQL数据库服务器,报错ERROR 1130: Host 192.168.3.100 is not allowed to connect to this MySQL s

ERROR 1130 (HY000): Host 'test177' is not allowed to connect to this MySQL server