When I use Navicat to connect to a remote MySQL instance, the following error is displayed. I thought it was a firewall problem, but it was disabled.
I think this English paragraph is a bit misleading, and it is a problem on my own side.
Check the solution.
ERROR 1130: Host '192. 168.1.3 'is not allowed to connect to this MySQL server
Solution:
1. Change the table. It may be that your account is not allowed to log on remotely, but only on localhost. At this time, you only need to log in to mysql on the computer of localhost, and change the "host" entry in the "user" table in the "mysql" database to "%" from "localhost"
Mysql-u root-pvmwaremysql> use mysql; mysql> update user set host = '%' where user = 'root'; mysql> select host, user from user;
2. Authorization method. For example, if you want myuser to use mypassword to connect to the mysql server from any host.
Grant all privileges on *. * to identified by 'mypassword' with grant option;
If you want to allow myuser to connect to the mysql server from a host whose ip address is 192.168.1.3, and use mypassword as the password
Grant all privileges on *. * to identified by 'mypassword' with grant option;
Recommended reading:
Add a foreign key to Navicat for MySQL
Navicat does not support remote connection to MySQL.
Detailed description of Navicat's remote automatic MySQL backup method
Settings for connecting the Navicat client to the MySQL database
Use Navicat to manage MySQL databases on a remote Linux Server