Unable to connect to database
Posted: 16 Feb 2017, 19:53
I bought and installed RRPPROXY Domain reseller module with Tools4ISP and I need to install PowerDNS which I done so and it says in putty.
Error below.
According to your instruction tutorial to open /etc/pdns/conf file but i couldnt find /pdns I found /etc/powerdns/conf instead and add the database details following the example you showed but added my own new database. I logged into cpanel created new database, username password, full permissions and changed it with those then when I added ddnsec and restarted I found out it didn't connect to the database -
Feb 16 18:47:54 Caught an exception instantiating a backend: Unable to launch gmysql connection: Unable to connect to database: Unknown MySQL server host '<localhost>' (1)
Feb 16 18:47:54 Cleaning up
Error: Unable to launch gmysql connection: Unable to connect to database: Unknown MySQL server host '<localhost>' (1)
[root@server tmp]#
Error below.
According to your instruction tutorial to open /etc/pdns/conf file but i couldnt find /pdns I found /etc/powerdns/conf instead and add the database details following the example you showed but added my own new database. I logged into cpanel created new database, username password, full permissions and changed it with those then when I added ddnsec and restarted I found out it didn't connect to the database -
Feb 16 18:47:54 Caught an exception instantiating a backend: Unable to launch gmysql connection: Unable to connect to database: Unknown MySQL server host '<localhost>' (1)
Feb 16 18:47:54 Cleaning up
Error: Unable to launch gmysql connection: Unable to connect to database: Unknown MySQL server host '<localhost>' (1)
[root@server tmp]#