You are not logged in.

#1 2008-10-23 00:11:04

jernej
Member
Registered: 2008-10-22
Posts: 11

Powerdns with MySQL doesn't work

I recently switched from ubuntu to Arch and I love it. However I have problems with PowerDNS running with MySQL database. When I set pdns.conf to

launch=gmysql                                                                                                           
gmysql-host=127.0.0.1                                                                                                   
gmysql-user=user                                                                                                 
gmysql-password=pass                                                                                             
gmysql-dbname=database_name 

and restart pdns i get this error:

Oct 22 22:43:34 Archlinux pdns[3337]: Caught an exception instantiating a backend, cleaning up
Oct 22 22:43:34 Archlinux pdns[3337]: gmysql Connection failed: Unable to connect to database: Lost connection to MySQL server at 'reading initial communication packet', system error: 0

Socket connection doesn't work either.

If someone could help me out of this I would be very happy.

Best regards!

Jernej

Offline

#2 2008-10-23 01:37:57

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: Powerdns with MySQL doesn't work

Comment the "ALL: ALL: DENY" line in /etc/hosts.deny.


1000

Offline

#3 2008-10-23 08:06:58

jernej
Member
Registered: 2008-10-22
Posts: 11

Re: Powerdns with MySQL doesn't work

It works! Thank you! Thank you! Thank you!
I wasted so many hours combating this...
I owe you a beer byte! smile Thx again!

Offline

Board footer

Powered by FluxBB