On Thu, Jul 7, 2016 at 8:35 PM, Trung Dinh <t...@fb.com> wrote:
> Hi everyone,
>
> I am trying to configure a mysql server for our wikimedia service. We are 
> using ipv6 of the mysql server.
> I am not sure how to configure $wgDBServer with an ipv6. I am able to 
> configure the server with ipv6.
> I tried to set:
>
>   1.  $wgDBServer = [IPAddress]:Portname
>   2.  $wgDBServer = IPAddress
>
> But none of the above works for me.
>
> Thanks very much in advance.
> _______________________________________________
> Wikitech-l mailing list
> Wikitech-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l

First of all, keep in mind $wgDBserver is case sensitive. It needs to
be a lowercase s.

Google comes up with https://bugs.php.net/bug.php?id=67563 - With that
in mind, I would recommend using the DNS name of the mysql server
you're using instead of its IP address (Or if it doesn't have one,
create an entry in /etc/hosts for it). Failing that, try switching php
to use the mysqli driver if you're using the mysql driver.

--
bawolff

_______________________________________________
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to