An exception occured while bootstrapping the application.

SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
Stack Trace:
#0 /var/www/html/library/Zend/Db/Adapter/Abstract.php(414): Zend_Db_Adapter_Pdo_Abstract->_connect()
#1 /var/www/html/library/Zend/Db/Adapter/Pdo/Abstract.php(220): Zend_Db_Adapter_Abstract->query('SET NAMES 'utf8...', Array)
#2 /var/www/html/application/bootstrap.php(53): Zend_Db_Adapter_Pdo_Abstract->query('SET NAMES 'utf8...')
#3 /var/www/html/public/index.php(23): require('/var/www/html/a...')
#4 {main}