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/boro.gr/httpdocs/library/Zend/Db/Adapter/Pdo/Mysql.php(96): Zend_Db_Adapter_Pdo_Abstract->_connect()
#1 /var/www/vhosts/boro.gr/httpdocs/library/Zend/Db/Adapter/Abstract.php(304): Zend_Db_Adapter_Pdo_Mysql->_connect()
#2 /var/www/vhosts/boro.gr/httpdocs/wwwApplication/config/globals.php(118): Zend_Db_Adapter_Abstract->getConnection()
#3 /var/www/vhosts/boro.gr/httpdocs/library/plugins/siteaccessPlugin.php(12): Globals::setActiveLang()
#4 /var/www/vhosts/boro.gr/httpdocs/library/Zend/Controller/Plugin/Broker.php(309): plugins_siteaccessPlugin->preDispatch(Object(Zend_Controller_Request_Http))
#5 /var/www/vhosts/boro.gr/httpdocs/library/Zend/Controller/Front.php(941): Zend_Controller_Plugin_Broker->preDispatch(Object(Zend_Controller_Request_Http))
#6 /var/www/vhosts/boro.gr/httpdocs/index.php(107): Zend_Controller_Front->dispatch()
#7 {main}