Home > Database > navicat > What should I do if 2003 appears when navicat connection fails?

What should I do if 2003 appears when navicat connection fails?

爱喝马黛茶的安东尼
Release: 2019-08-15 11:54:52
Original
18126 people have browsed it

What should I do if 2003 appears when navicat connection fails?

A 2003 (10060) error occurred when navicat connected to mysql

What should I do if 2003 appears when navicat connection fails?

Cause: The firewall is not turned off.

There are two ways to solve this problem:

1. Turn off the firewall

2. Set the firewall open port

Related recommendations: "Navicat for mysql graphic tutorial

First method:

//停止
systemctl stop firewalld.service
//禁止开机启动
systemctl disable firewalld.service
Copy after login

Second method:

//这里发现防火墙是开启的,再来查看防火墙控制的端口
systemctl status firewalld
//查看防火墙控制的端口,发现我想要监听的8081端口没有开启
firewall-cmd --list-all
//永久开启3306端口
sudo firewall-cmd --zone=public --add-port=3306/tcp --permanent
//重载防火墙
sudo firewall-cmd --reload
Copy after login

The above is the detailed content of What should I do if 2003 appears when navicat connection fails?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template