SQL Error Message: "Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111)" SQL : "mysql_connect('localhost', '10000li_net') failed!" SQL Error code: "7335941".

Error reason:

Uncaptured exception.

Details: exception 'FLEA_Db_Exception_SqlQuery' with message 'SQL Error Message: "Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111)"
SQL : "mysql_connect('localhost', '10000li_net') failed!"
SQL Error code: "7335941".' in /var/www/html/tianjin2008/APP/FLEA/FLEA/Db/Driver/Mysql.php:161
Stack trace:
#0 /var/www/html/tianjin2008/APP/FLEA/FLEA.php(559): FLEA_Db_Driver_Mysql->connect()
#1 /var/www/html/tianjin2008/APP/FLEA/FLEA/Db/TableDataGateway.php(277): FLEA->getDBO(Array)
#2 /var/www/html/tianjin2008/APP/FLEA/FLEA.php(318): FLEA_Db_TableDataGateway->FLEA_Db_TableDataGateway()
#3 /var/www/html/tianjin2008/APP/Controller/article.php(15): FLEA->getSingleton('Model_News')
#4 /var/www/html/tianjin2008/APP/FLEA/FLEA/Dispatcher/Simple.php(127): Controller_article->actionIndex()
#5 /var/www/html/tianjin2008/APP/FLEA/FLEA/Dispatcher/Simple.php(77): FLEA_Dispatcher_Simple->_executeAction('article', 'index', 'Controller_arti...')
#6 /var/www/html/tianjin2008/APP/FLEA/FLEA.php(621): FLEA_Dispatcher_Simple->dispatching()
#7 /var/www/html/tianjin2008/article.php(29): FLEA::runMVC()
#8 {main}

Exception: FLEA_Db_Exception_SqlQuery
Message: SQL Error Message: "Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111)" SQL : "mysql_connect('localhost', '10000li_net') failed!" SQL Error code: "7335941".


Filename: /var/www/html/tianjin2008/APP/FLEA/FLEA.php
#8 FLEA_Db_Driver_Mysql::connect()

Filename: /var/www/html/tianjin2008/APP/FLEA/FLEA/Db/TableDataGateway.php
#7 FLEA::getDBO(array(5))

Filename: /var/www/html/tianjin2008/APP/FLEA/FLEA.php
#6 FLEA_Db_TableDataGateway::FLEA_Db_TableDataGateway()

Filename: /var/www/html/tianjin2008/APP/Controller/article.php
#5 FLEA::getSingleton('Model_News')

Filename: /var/www/html/tianjin2008/APP/FLEA/FLEA/Dispatcher/Simple.php
#4 Controller_article::actionIndex()

Filename: /var/www/html/tianjin2008/APP/FLEA/FLEA/Dispatcher/Simple.php
#3 FLEA_Dispatcher_Simple::_executeAction('article', 'index', 'Controller_article')

Filename: /var/www/html/tianjin2008/APP/FLEA/FLEA.php
#2 FLEA_Dispatcher_Simple::dispatching()

Filename: /var/www/html/tianjin2008/article.php
#1 FLEA::runMVC()