Home>Article>Database> How to solve navicat remote connection database failure 10038

How to solve navicat remote connection database failure 10038

爱喝马黛茶的安东尼
爱喝马黛茶的安东尼 Original
2019-08-13 16:29:48 6545browse

How to solve navicat remote connection database failure 10038

When using Navicat for MySQl to access the remote mysql database, an error message appears, showing "2003- Can't connect MySQL Server on 'localhost'(10038)".

How to solve navicat remote connection database failure 10038

The reason for this error is that the remote port 3306 is not open to the outside world.

Solution steps:

First connect to the server remotely, click "Start" - "Administrative Tools" - "Windows Firewall with Advanced Security".

How to solve navicat remote connection database failure 10038

Related recommendations: "Navicat for mysql graphic tutorial"

In the window that opens, select "Inbound" on the left Rules" and click "New Rule" on the right to create a new inbound rule.

How to solve navicat remote connection database failure 10038

Select "Port" in "Rule Type" and then next step.

How to solve navicat remote connection database failure 10038

Check "Specific local port", enter 3306, and then take the next step.

How to solve navicat remote connection database failure 10038

Check "Allow connections" and then take the next step.

How to solve navicat remote connection database failure 10038

Just select this step by default, then take the next step.

How to solve navicat remote connection database failure 10038

#Finally enter the name of the new inbound rule, fill it in casually, you can understand it yourself.

How to solve navicat remote connection database failure 10038

#After completion, you can see the new inbound rules in the inbound rules list.

How to solve navicat remote connection database failure 10038

Now when I connect to the mysql remote database locally again, I find that it can be accessed normally.

How to solve navicat remote connection database failure 10038

The above is the detailed content of How to solve navicat remote connection database failure 10038. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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