After IPv6 settings, how can I solve the problem that MySQL cannot connect to localhost? ipv6localhost

Source: Internet
Author: User

After IPv6 settings, how can I solve the problem that MySQL cannot connect to localhost? ipv6localhost

When you use phpmyadmin or navicat to connect to the database, the system prompts [client software cannot connect to localhost]

It is found that the IPV6 address listens to port 3306, and the client software does not support IPV6.

This problem occurs when a new system or an IPV6 operating system is configured, And the MYSQL database is manually installed or the database installed by the guard god, this question is not prompted for the one-key package of the cracked version.

The bind-address = 0.0.0.0 parameter is not found in the manually installed database. This function is available in the guard database, but it is commented out! You only need to add or remove this comment and restart the database!


Then, use the client to connect to the database again!

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.