[Pdns-users] failed connections to gmysql

Bob Lockie bjlockie at lockie.ca
Sun May 16 18:56:16 UTC 2004


On 05/16/04 13:31 Derrik Pates spoke:
> Bob Lockie wrote:
> 
>>
>> Is this ok?
>>
>> # /etc/init.d/pdns monitor
> 
> 
>> May 16 11:58:57 gmysql Connection failed: Unable to connect to 
>> database: Can't connect to MySQL server on 'localhost' (111)
>> May 16 11:58:57 Caught an exception instantiating a backend, cleaning up
>> May 16 11:58:57 TCP server is unable to launch backends - will try 
>> again when questions come in: Unable to launch gmysql connection: 
>> Unable to connect to database: Can't connect to MySQL server on 
>> 'localhost' (111)
>> May 16 11:58:57 About to create 3 backend threads
>> May 16 11:58:57 gmysql Connection failed: Unable to connect to 
>> database: Can't connect to MySQL server on 'localhost' (111)
>> May 16 11:58:57 gmysql Connection succesful
> 
> 
> It should try to connect to the UNIX domain socket first, but it sounds 
> like that's failing. Or at least, that'd be my guess by the fact that it 
> eventually succeeds. Are you using packaged MySQL libraries and a local 
> MySQL server install, or vice versa? That would explain why UNIX domain 
> socket connection apparently fails.

I don't understand the question.
I use Gentoo as my Linux distribution and I installed the MySQL-4.0.18 
that it has.
I downloaded and intalled pdns-2.9.16.
There are no servers on this machine, it is my desktop. :-)



More information about the Pdns-users mailing list