Ik heb hier thuis powerdns draaien om wat te testen.
dat heb ik bij mijn pdns.conf staan.
dan krijg ik dus deze fout melding
http://doc.powerdns.com/configuring-db-connection.html
Ik heb eerst:
Dit werkte niet, toen heb ik gewoon de user pdns aangemaakt waarbij dus alleen xs heeft tot de tabel pdns
Ook dit werkte niet.
[edit]
ik kan ook nergens een gmysql faq/man vinden.
Want wanneer ik gmysql-user=root gebruik dan komt ie met een scherm van using password=no. Dus misschien leek het me om een password te gebruiken
code:
1
2
3
4
| launch=gmysql gmysql-host=127.0.0.1 gmysql-user=pdns gmysql-dbname=pdns |
dat heb ik bij mijn pdns.conf staan.
dan krijg ik dus deze fout melding
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
| [root@o4c root]# /etc/rc.d/init.d/pdns monitor pdns: Apr 25 22:43:57 This is a standalone pdns Apr 25 22:43:57 Opened file '/etc/powerdns/pdns.conf' for configuration Apr 25 22:43:57 UDP server bound to 62.212.76.219:53 Apr 25 22:43:57 TCP server bound to 62.212.76.219:53 Apr 25 22:43:57 PowerDNS 2.9.7 (C) 2001-2003 PowerDNS.COM BV (Mar 20 2003, 13:09:58) starting up Apr 25 22:43:57 PowerDNS comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it according to the terms of the GPL version 2. Apr 25 22:43:57 Creating backend connection for TCP % Apr 25 22:43:57 gmysql Connection failed: Unable to connect to database: Access denied for user: '@linspare' to database 'pdns' Apr 25 22:43:57 Caught an exception instantiating a backend, cleaning up Apr 25 22:43: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: Access denied for user: '@linspare' to database 'pdns' Apr 25 22:43:57 About to create 3 backend threads Apr 25 22:43:57 gmysql Connection failed: Unable to connect to database: Access denied for user: '@linspare' to database 'pdns' Apr 25 22:43:57 Caught an exception instantiating a backend, cleaning up Apr 25 22:43:57 gmysql Connection failed: Unable to connect to database: Access denied for user: '@linspare' to database 'pdns' Apr 25 22:43:57 Caught an exception instantiating a backend, cleaning up Apr 25 22:43:57 gmysql Connection failed: Unable to connect to database: Access denied for user: '@linspare' to database 'pdns' Apr 25 22:43:57 Caught an exception instantiating a backend, cleaning up Apr 25 22:43:58 Done launching threads, ready to distribute questions |
http://doc.powerdns.com/configuring-db-connection.html
Ik heb eerst:
code:
1
2
3
| GRANT SELECT ON supermasters TO pdns; GRANT ALL ON domains TO pdns; GRANT ALL ON records TO pdns; |
Dit werkte niet, toen heb ik gewoon de user pdns aangemaakt waarbij dus alleen xs heeft tot de tabel pdns
Ook dit werkte niet.
[edit]
ik kan ook nergens een gmysql faq/man vinden.
Want wanneer ik gmysql-user=root gebruik dan komt ie met een scherm van using password=no. Dus misschien leek het me om een password te gebruiken
[ Voor 12% gewijzigd door Ankh op 25-04-2003 22:56 ]
-Ankh- Camera Gear: Nikon D7000 | Nikon AF-S DX 16-85mm f3.5-5.6 AF-S DX VR & Tokina AT-X 116 Pro DX AF 11-16mm f2,8