This error occurred while connecting to MySQL:
ERROR 1130:host ' 192.168.1.110 ' isn't allowed to connect to this MySQL server
Workaround:
1. Change the table method. It may be that your account is not allowed to log on remotely, only on localhost. This time, as long as the computer on the localhost, log in to MySQL, change the "MySQL" Database in the "User" table "host", from "localhost" to "%"
Mysql-u root-p
Mysql>use MySQL;
Mysql>update User Set host = '% ' where user = ' root ';
Mysql>select host, user from user;
2. Authorization law. For example, if you want to myuser use MyPassword to connect to a MySQL server from any host.
GRANT all privileges on * * to ' myuser ' @ ' percent ' identified by ' MyPassword ' with GRANT OPTION;
If you want to allow users to connect to a MySQL server from a host myuser IP 192.168.1.110 and use "password" as the password
GRANT all privileges on * * to ' root ' @ ' 192.168.1.110 ' identified by ' MyPassword ' with GRANT OPTION;
GRANT all privileges on * * to ' root ' @ ' 10.10.40.54 ' identified by ' 123456 ' with GRANT OPTION;
Mysql:is not allowed to connect to this MySQL server