an unexpected error occured.

Unexpected Exception: SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)


#0 /var/www/vhosts/livecity.gr/httpdocs/library/Zend/Db/Adapter/Pdo/Mysql.php(96): Zend_Db_Adapter_Pdo_Abstract->_connect()
#1 /var/www/vhosts/livecity.gr/httpdocs/library/Zend/Db/Adapter/Abstract.php(304): Zend_Db_Adapter_Pdo_Mysql->_connect()
#2 /var/www/vhosts/livecity.gr/httpdocs/wwwApplication/models/controller/pageinfo_class.php(22): Zend_Db_Adapter_Abstract->getConnection()
#3 /var/www/vhosts/livecity.gr/httpdocs/wwwApplication/models/controller/pageinfo_class.php(49): pageinfo->dbopen()
#4 /var/www/vhosts/livecity.gr/httpdocs/wwwApplication/controllers/NewsController.php(43): pageinfo->getPageInfo('310118')
#5 /var/www/vhosts/livecity.gr/httpdocs/library/Zend/Controller/Action.php(513): NewsController->indexAction()
#6 /var/www/vhosts/livecity.gr/httpdocs/library/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('indexAction')
#7 /var/www/vhosts/livecity.gr/httpdocs/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#8 /var/www/vhosts/livecity.gr/httpdocs/index.php(104): Zend_Controller_Front->dispatch()
#9 {main}