#41721 closed defect (bug) (duplicate)
WordPress will not connect to database using IPv6
Reported by: | matty0501 | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | blocker | Version: | 4.8.1 |
Component: | Database | Keywords: | |
Focuses: | Cc: | ||
PR Number: |
Description
Hello,
I am trying to connect to a remote database using IPv6. I have configured the MySQL database bind address to that of the IPv6 address and created a database and issued all the required permissions.
When I go to install WordPress, I enter the IPv6 address and WordPress returns the following message "Error establishing a database connection". I have made sure my MySQL is working by using MySQL Client and it connects to the database without any problems.
I then did a little more digging and found that if I change the database bind address to a IPv4 address and configure the correct permissions, WordPress will install using an IPv4 address.
WordPress will not work with IPv6 address.
Thanks.
Duplicate of #41722.
Closing in lieu of 41722 which has a little more technical details.