Warning: mysql_connect() [function.mysql-connect]: php_network_getaddresses: getaddrinfo failed: Name or service not known in /var/www/ensrettet.se/public_html/lib/DB.php on line 66
Fatal error: Uncaught exception 'MySQLException' with message 'Failed connection to database. php_network_getaddresses: getaddrinfo failed: Name or service not known' in /var/www/ensrettet.se/public_html/lib/DB.php:68
Stack trace:
#0 /var/www/ensrettet.se/public_html/lib/DB.php(266): DB::connect('ensrett_main', 'SLAVE')
#1 /var/www/ensrettet.se/public_html/lib/DB.php(170): DB::execute('ensrett_main', 'SLAVE', 'SELECT vLinkCol...')
#2 /var/www/ensrettet.se/public_html/inc/header.php(5): DB::readRow('ensrett_main', 'SLAVE', 'SELECT vLinkCol...', NULL, true)
#3 /var/www/ensrettet.se/public_html/index.php(3): require_once('/var/www/ensret...')
#4 {main}
thrown in /var/www/ensrettet.se/public_html/lib/DB.php on line 68