( ! ) Fatal error: Uncaught PDOException: PDO::__construct(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /web/onko29.ru/www/app/db.php:8 Stack trace: #0 /web/onko29.ru/www/app/db.php(8): PDO->__construct('mysql:host=mysq...', 'root', '12344', Array) #1 /web/onko29.ru/www/app/models/BaseModel.php(31): Db::getConnection() #2 /web/onko29.ru/www/app/models/Depts.php(127): BaseModel::getSQLValues('SELECT emp.id, ...') #3 /web/onko29.ru/www/app/controllers/DeptsController.php(29): Depts::getEmployerInfo('296') #4 /web/onko29.ru/www/app/router.php(55): DeptsController->actionEmpview('296') #5 /web/onko29.ru/www/index.php(17): Router->run() #6 {main} Next PDOException: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known in /web/onko29.ru/www/app/db.php on line 8
( ! ) PDOException: PDO::__construct(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /web/onko29.ru/www/app/db.php on line 8
Call Stack
#TimeMemoryFunctionLocation
10.0001359960{main}( ).../index.php:0
20.0005505736Router->run( ).../index.php:17
30.0006508064DeptsController->actionEmpview( ).../router.php:55
40.0006508064Depts::getEmployerInfo( ).../DeptsController.php:29
50.0006508256BaseModel::getSQLValues( ).../Depts.php:127
60.0006508256Db::getConnection( ).../BaseModel.php:31
70.0006509384__construct ( ).../db.php:8