SQL 错误消息: "Can't connect to MySQL server on 'database.lcn.com' (111)" SQL 语句: "mysql_connect('database.lcn.com', 'LCN_10365') failed!" SQL 错误代码: "7335941".

错误原因:

您看到这个错误页面是因为应用程序抛出了没有捕获的异常。

异常的详细内容: exception 'FLEA_Db_Exception_SqlQuery' with message 'SQL 错误消息: "Can't connect to MySQL server on 'database.lcn.com' (111)"
SQL 语句: "mysql_connect('database.lcn.com', 'LCN_10365') failed!"
SQL 错误代码: "7335941".' in /www3/1e8/www.farmingscotland.com/web/libs/FLEA/FLEA/Db/Driver/Mysql.php:69
Stack trace:
#0 /www3/1e8/www.farmingscotland.com/web/libs/FLEA/FLEA.php(752): FLEA_Db_Driver_Mysql->connect()
#1 /www3/1e8/www.farmingscotland.com/web/libs/FLEA/FLEA/Db/TableDataGateway.php(301): FLEA->getDBO()
#2 /www3/1e8/www.farmingscotland.com/web/libs/APP/GD/MyDB.php(5): FLEA_Db_TableDataGateway->FLEA_Db_TableDataGateway()
#3 /www3/1e8/www.farmingscotland.com/web/libs/APP/Table/BoTable.php(81): GD_MyDb->GD_MyDb()
#4 /www3/1e8/www.farmingscotland.com/web/libs/APP/Model/Default.php(27): Table_BoTable->Table_BoTable('content', 'id')
#5 /www3/1e8/www.farmingscotland.com/web/libs/FLEA/FLEA.php(422): Model_Default->Model_Default()
#6 /www3/1e8/www.farmingscotland.com/web/libs/FLEA/FLEA/Compatibility.php(115): FLEA::getSingleton('Model_Default')
#7 /www3/1e8/www.farmingscotland.com/web/libs/APP/Controller/Default.php(33): get_singleton('Model_Default')
#8 /www3/1e8/www.farmingscotland.com/web/libs/FLEA/FLEA/Dispatcher/Simple.php(106): Controller_Default->Controller_Default('Default')
#9 /www3/1e8/www.farmingscotland.com/web/libs/FLEA/FLEA/Dispatcher/Auth.php(127): FLEA_Dispatcher_Simple->_executeAction('Default', 'News', 'Controller_Defa...')
#10 /www3/1e8/www.farmingscotland.com/web/libs/FLEA/FLEA.php(816): FLEA_Dispatcher_Auth->dispatching()
#11 /www3/1e8/www.farmingscotland.com/web/libs/FLEA/FLEA/Compatibility.php(263): FLEA::runMVC()
#12 /www3/1e8/www.farmingscotland.com/web/index.php(78): run()
#13 {main}

Exception: FLEA_Db_Exception_SqlQuery
Message: SQL 错误消息: "Can't connect to MySQL server on 'database.lcn.com' (111)" SQL 语句: "mysql_connect('database.lcn.com', 'LCN_10365') failed!" SQL 错误代码: "7335941".


Filename: /www3/1e8/www.farmingscotland.com/web/libs/FLEA/FLEA.php [752]
#13 FLEA_Db_Driver_Mysql::connect()

Filename: /www3/1e8/www.farmingscotland.com/web/libs/FLEA/FLEA/Db/TableDataGateway.php [301]
#12 FLEA::getDBO()

Filename: /www3/1e8/www.farmingscotland.com/web/libs/APP/GD/MyDB.php [5]
#11 FLEA_Db_TableDataGateway::FLEA_Db_TableDataGateway()

Filename: /www3/1e8/www.farmingscotland.com/web/libs/APP/Table/BoTable.php [81]
#10 GD_MyDb::GD_MyDb()

Filename: /www3/1e8/www.farmingscotland.com/web/libs/APP/Model/Default.php [27]
#9 Table_BoTable::Table_BoTable('content', 'id')

Filename: /www3/1e8/www.farmingscotland.com/web/libs/FLEA/FLEA.php [422]
#8 Model_Default::Model_Default()

Filename: /www3/1e8/www.farmingscotland.com/web/libs/FLEA/FLEA/Compatibility.php [115]
#7 FLEA::getSingleton('Model_Default')

Filename: /www3/1e8/www.farmingscotland.com/web/libs/APP/Controller/Default.php [33]
#6 get_singleton('Model_Default')

Filename: /www3/1e8/www.farmingscotland.com/web/libs/FLEA/FLEA/Dispatcher/Simple.php [106]
#5 Controller_Default::Controller_Default('Default')

Filename: /www3/1e8/www.farmingscotland.com/web/libs/FLEA/FLEA/Dispatcher/Auth.php [127]
#4 FLEA_Dispatcher_Simple::_executeAction('Default', 'News', 'Controller_Default')

Filename: /www3/1e8/www.farmingscotland.com/web/libs/FLEA/FLEA.php [816]
#3 FLEA_Dispatcher_Auth::dispatching()

Filename: /www3/1e8/www.farmingscotland.com/web/libs/FLEA/FLEA/Compatibility.php [263]
#2 FLEA::runMVC()

Filename: /www3/1e8/www.farmingscotland.com/web/index.php [78]
#1 run()