Can ' t connect to MySQL Server (10060)

Source: Internet
Author: User

The day before yesterday just installed MySQL, today again using the title appears the error. I am a local machine connected to Linux under MySQL.

There are some solutions on the Web:

Method One, check the local firewall

If this is the case, please turn off the firewall and try again.

Method Two, check the firewall configuration of the server

This shows that the firewall is still started, and only the 2181, 2888, and 3888 ports allowed, we can temporarily shut down the firewall.

You can also permanently turn off the firewall.

Chkconfig iptables off

Method Three, service did not start

The service mysqld start is ready.

Method Four, MySQL account settings

Check whether the connected account allows remote connections.

Can ' t connect to MySQL Server (10060)

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.