SQL 错误消息: "Unknown database 'ls_jinan'" SQL 语句: "SELECT DATABASE: 'ls_jinan' FAILED!" SQL 错误代码: "7335941".

错误原因:

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

异常的详细内容: exception 'FLEA_Db_Exception_SqlQuery' with message 'SQL 错误消息: "Unknown database 'ls_jinan'"
SQL 语句: "SELECT DATABASE: 'ls_jinan' FAILED!"
SQL 错误代码: "7335941".' in F:\LaoShu\jinan\FLEA\FLEA\Db\Driver\Mysql.php:99
Stack trace:
#0 F:\LaoShu\jinan\FLEA\FLEA\Db\Driver\Mysql.php(73): FLEA_Db_Driver_Mysql->selectDb('ls_jinan')
#1 F:\LaoShu\jinan\FLEA\FLEA.php(752): FLEA_Db_Driver_Mysql->connect()
#2 F:\LaoShu\jinan\FLEA\FLEA\Db\TableDataGateway.php(301): FLEA->getDBO()
#3 F:\LaoShu\jinan\FLEA\FLEA.php(422): FLEA_Db_TableDataGateway->FLEA_Db_TableDataGateway()
#4 F:\LaoShu\jinan\APP\Controller\Sitenews.php(12): FLEA->getSingleton('Model_Sitenews')
#5 F:\LaoShu\jinan\FLEA\FLEA\Dispatcher\Simple.php(106): Controller_Sitenews->Controller_Sitenews('Sitenews')
#6 F:\LaoShu\jinan\FLEA\FLEA\Dispatcher\Simple.php(77): FLEA_Dispatcher_Simple->_executeAction('Sitenews', 'view', 'Controller_Site...')
#7 F:\LaoShu\jinan\FLEA\FLEA.php(816): FLEA_Dispatcher_Simple->dispatching()
#8 F:\LaoShu\jinan\index.php(10): FLEA::runMVC()
#9 {main}

Exception: FLEA_Db_Exception_SqlQuery
Message: SQL 错误消息: "Unknown database 'ls_jinan'" SQL 语句: "SELECT DATABASE: 'ls_jinan' FAILED!" SQL 错误代码: "7335941".


Filename: F:\LaoShu\jinan\FLEA\FLEA\Db\Driver\Mysql.php [73]
#9 FLEA_Db_Driver_Mysql::selectDb('ls_jinan')

Filename: F:\LaoShu\jinan\FLEA\FLEA.php [752]
#8 FLEA_Db_Driver_Mysql::connect()

Filename: F:\LaoShu\jinan\FLEA\FLEA\Db\TableDataGateway.php [301]
#7 FLEA::getDBO()

Filename: F:\LaoShu\jinan\FLEA\FLEA.php [422]
#6 FLEA_Db_TableDataGateway::FLEA_Db_TableDataGateway()

Filename: F:\LaoShu\jinan\APP\Controller\Sitenews.php [12]
#5 FLEA::getSingleton('Model_Sitenews')

Filename: F:\LaoShu\jinan\FLEA\FLEA\Dispatcher\Simple.php [106]
#4 Controller_Sitenews::Controller_Sitenews('Sitenews')

Filename: F:\LaoShu\jinan\FLEA\FLEA\Dispatcher\Simple.php [77]
#3 FLEA_Dispatcher_Simple::_executeAction('Sitenews', 'view', 'Controller_Sitenews')

Filename: F:\LaoShu\jinan\FLEA\FLEA.php [816]
#2 FLEA_Dispatcher_Simple::dispatching()

Filename: F:\LaoShu\jinan\index.php [10]
#1 FLEA::runMVC()