Navicat failed to connect to the server remotely 2002 - Can't connect to server on

Navicat fails to connect to the server remotely,
insert image description here
and the error is as follows:

2002 - Can't connect to server on '192.168.33.59'(10060)

solution:

Here are some possible scenarios:

1. Firewall reason, need to close the firewall

systemctl stop firewalld
systemctl disable firewalld

2. The database is not opened, restart the database

service mysql restart

3. Insufficient root privileges in the database

GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'youpassword' WITH GRANT OPTION

Guess you like

Origin blog.csdn.net/qq_40713201/article/details/130140421