How to troubleshoot MySQL remote connection report 10038 error

Source: Internet
Author: User

Recently using Navicat for MySQL to access the remote MySQL database, an error occurred, showing "2003-can ' t connect MySQL Server on ' localhost ' (10038)". So desperately Baidu, finally found a solution.



Method/Step
  1. 1

    Reading the wrong window first.

  2. Through Baidu, finally found the reason is: remote 3306 port is not open .

    The following is a remote 3306 port open operation.

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

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

  5. In rule type, select port, and then next.

  6. Select "Specific local Port", enter 3306, and then next.

  7. Check "Allow connections" and then next.

  8. This step is selected by default on the line, and then next.

  9. Finally enter the new inbound rule name, fill it out, you can understand.

  10. When you are finished, you can see the new inbound rules in the list of inbound rules.

  11. Now, once again, when you connect to the MySQL remote database locally, you find that you have access to it properly.

    Problem solving.



How to troubleshoot MySQL remote connection report 10038 error

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.