Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/thursday/public_html/bed-rails/include/DataBase.class.php on line 25

Warning: mysql_error() expects parameter 1 to be resource, boolean given in /home/thursday/public_html/bed-rails/include/DataBase.class.php on line 132

Fatal error: Uncaught exception 'DatabaseException' with message 'MySQL error : Unknown error, possible connection errors' in /home/thursday/public_html/bed-rails/include/DataBase.class.php:133 Stack trace: #0 /home/thursday/public_html/bed-rails/include/DataBase.class.php(25): DataBase->translate_error() #1 /home/thursday/public_html/bed-rails/include/DataBase.class.php(16): DataBase->__construct('localhost', 'thursday_truck', 'QMTC}*e,y4Rs', 'thursday_truck_...') #2 /home/thursday/public_html/bed-rails/include/dsl/ItemDsl.class.php(23): DataBase::getInstance() #3 /home/thursday/public_html/bed-rails/include/dsl/ItemDsl.class.php(16): Item->__construct() #4 /home/thursday/public_html/bed-rails/include/Router.class.php(16): Item::getInstance() #5 /home/thursday/public_html/bed-rails/index.php(20): Router->__construct('2005-mitsubishi...') #6 {main} thrown in /home/thursday/public_html/bed-rails/include/DataBase.class.php on line 133