This article mainly introduces how to solve the problem that MySQL cannot connect to localhost after IPv6 settings. if you need it, refer to the prompt [client software cannot connect to localhost] when using phpmyadmin or navicat to connect to the database]
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!