Could not connect to Data Base: SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
#0 /var/www/webwork-735/data/www/svpmos.ru/libs/DBManager/DBTableManager.class.php(64): DB::Connect() #1 /var/www/webwork-735/data/www/svpmos.ru/libs/DBManager/DBTableManager.class.php(89): DBTableManager->__construct('greeny_pageStru...', NULL, true) #2 /var/www/webwork-735/data/www/svpmos.ru/libs/Pages/PagesStructure.class.php(21): DBTableManager::getInstance('greeny_pageStru...') #3 /var/www/webwork-735/data/www/svpmos.ru/core/Singleton.abstract.php(30): PagesStructure->__construct() #4 /var/www/webwork-735/data/www/svpmos.ru/libs/Pages/PagesStructure.class.php(43): Singleton::getInstance('PagesStructure') #5 /var/www/webwork-735/data/www/svpmos.ru/application/controllers/front/BaseFrontController.class.php(29): PagesStructure::getInstance() #6 /var/www/webwork-735/data/www/svpmos.ru/application/controllers/front/IndexController.class.php(12): BaseFrontController->__construct() #7 /var/www/webwork-735/data/www/svpmos.ru/core/Application.class.php(134): IndexController->__construct() #8 /var/www/webwork-735/data/www/svpmos.ru/core/Application.class.php(94): Application->Execute() #9 /var/www/webwork-735/data/www/svpmos.ru/application/CMSApplication.class.php(40): Application->Run() #10 /var/www/webwork-735/data/www/svpmos.ru/index.php(36): CMSApplication->Run() #11 {main}
Fatal error: Uncaught SQLException: [0]: Could not connect to Data Base: SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) thrown in /var/www/webwork-735/data/www/svpmos.ru/libs/DBManager/DB.class.php on line 95