Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /home/tdz/tdzaimov.ru/itmv2/itm/db/mysql.php on line 245

Fatal error: Uncaught exception 'ITM_Db_MySQLConnection_NativeException' with message 'ITM_Db_MySQLConnection_NativeException: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)' in /home/tdz/tdzaimov.ru/itmv2/itm/db/mysql.php:247 Stack trace: #0 /home/tdz/tdzaimov.ru/itmv2/itm/db/mysql.php(50): ITM_Db_MySQLConnection->connect('localhost', 'tdz', 'YL62RpweWv8zDZA...', 'tdz') #1 /home/tdz/tdzaimov.ru/itmv2/itm/db/mysql.php(35): ITM_Db_MySQLConnection->__construct('localhost', 'tdz', 'YL62RpweWv8zDZA...', 'tdz') #2 /home/tdz/tdzaimov.ru/itmv2/itm/core/appTree.php(36): ITM_Db_MySQLConnection::getConnection() #3 /home/tdz/tdzaimov.ru/itmv2/itm/core/app.php(37): ITM_AppTree->searchNode(Object(ITM_AppNodePath)) #4 /home/tdz/tdzaimov.ru/www/index.php(7): ITM_Application->run() #5 {main} thrown in /home/tdz/tdzaimov.ru/itmv2/itm/db/mysql.php on line 247