[wp-trac] [WordPress Trac] #41722: wpdb::db_connect() does not connect to IPv6 address of mysql server
WordPress Trac
noreply at wordpress.org
Thu Aug 24 17:36:16 UTC 2017
#41722: wpdb::db_connect() does not connect to IPv6 address of mysql server
--------------------------+------------------------------
Reporter: fierevere | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Database | Version: 4.8.1
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by Ipstenu):
From #41721
> 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.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41722#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list