Erro na Conecção com Banco de Dados
Fatal error: Uncaught PDOException: PDO::__construct(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /var/www/html/pimentavirtual.net/web/classes/BD.class.php:9 Stack trace: #0 /var/www/html/pimentavirtual.net/web/classes/BD.class.php(9): PDO->__construct('mysql:host=pime...', 'pimentanovo', 'Fq45-bK9ltv-V2b...') #1 /var/www/html/pimentavirtual.net/web/mybannertop.php(12): BD::getConn() #2 /var/www/html/pimentavirtual.net/web/redirecionamento.html(66): require('/var/www/html/p...') #3 {main} Next PDOException: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known in /var/www/html/pimentavirtual.net/web/classes/BD.class.php:9 Stack trace: #0 /var/www/html/pimentavirtual.net/web/classes/BD.class.php(9): PDO->__construct('mysql:host=pime...', 'pimentanovo', 'Fq45-bK9ltv-V2b...') #1 /var/www/html/pimentavirtual.net/web/mybannertop.php(12): BD::getConn() #2 /var/www/html/pimentavirtual.net/web/redirecionamento.html(66): require('/var/www/html/p...') #3 {ma in /var/www/html/pimentavirtual.net/web/classes/BD.class.php on line 9