Fatal error: Uncaught PDOException: PDO::__construct(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /var/www/ScriptBeta/includes/class-pdodao.php:47
Stack trace:
#0 /var/www/ScriptBeta/includes/class-pdodao.php(47): PDO->__construct()
#1 /var/www/ScriptBeta/includes/class-pdodao.php(36): PDODAO->connect()
#2 /var/www/ScriptBeta/bootstrap.php(126): PDODAO->__construct()
#3 /var/www/ScriptBeta/bootloader.php(11): require('...')
#4 /var/www/ScriptBeta/blogs.php(11): require('...')
#5 {main}
Next PDOException: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known in /var/www/ScriptBeta/includes/class-pdodao.php:47
Stack trace:
#0 /var/www/ScriptBeta/includes/class-pdodao.php(47): PDO->__construct()
#1 /var/www/ScriptBeta/includes/class-pdodao.php(36): PDODAO->connect()
#2 /var/www/ScriptBeta/bootstrap.php(126): PDODAO->__construct()
#3 /var/www/ScriptBeta/bootloader.php(11): require('...')
#4 /var/www/ScriptBeta/blogs.php(11): require('...')
#5 {main}
thrown in /var/www/ScriptBeta/includes/class-pdodao.php on line 47