Warning: PDO::__construct() [pdo.--construct]: php_network_getaddresses: getaddrinfo failed: Name or service not known in /Library/Zend/Db/Adapter/Pdo/Abstract.php on line 129

Warning: PDO::__construct() [pdo.--construct]: [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known (trying to connect via tcp://localhost :3306) in /Library/Zend/Db/Adapter/Pdo/Abstract.php on line 129
An exception occured while bootstrapping the application.

SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known
Stack Trace:
#0 /Library/Zend/Db/Adapter/Pdo/Mysql.php(109): Zend_Db_Adapter_Pdo_Abstract->_connect()
#1 /Library/Zend/Db/Adapter/Abstract.php(459): Zend_Db_Adapter_Pdo_Mysql->_connect()
#2 /Library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SET NAMES utf8', Array)
#3 /Global/Db.php(26): Zend_Db_Adapter_Pdo_Abstract->query('SET NAMES utf8')
#4 /application/Site/Class/Main.php(138): Global_Db::getDbConnetion()
#5 /application/Site/bootstrap.php(70): Class_Main::getLangs()
#6 /index.php(5): require_once('/application/Si...')
#7 {main}