:-O
Database connect error: SQLSTATE[HY000] [1049] Unknown database 'pv_db' code: 1049
File:
File:/home/wwwroot/pv_system/client/coolphp/Connection.php Line:129
Trace
Exception: Database connect error: SQLSTATE[HY000] [1049] Unknown database 'pv_db' code: 1049 in /home/wwwroot/pv_system/client/coolphp/Connection.php:129
Stack trace:
#0 /home/wwwroot/pv_system/client/coolphp/Connection.php(79): Cool\Connection::connect(Array, Array)
#1 /home/wwwroot/pv_system/client/coolphp/Model.php(83): Cool\Connection::instance(Array, Array)
#2 /home/wwwroot/pv_system/client/coolphp/Model.php(53): Cool\Model->connect('mysql', 'default', Array)
#3 /home/wwwroot/pv_system/client/coolphp/Model.php(65): Cool\Model->__construct()
#4 /home/wwwroot/pv_system/client/coolphp/Model.php(146): Cool\Model::instance()
#5 /home/wwwroot/pv_system/client/coolphp/Router.php(162): Cool\Model::where('site_id', 2)
#6 /home/wwwroot/pv_system/client/coolphp/Router.php(105): Cool\Router->parseWebApi(Array, 'http://www.taoj...', '/w27')
#7 /home/wwwroot/pv_system/client/coolphp/Router.php(37): Cool\Router->parseWeb()
#8 /home/wwwroot/pv_system/client/coolphp/App.php(66): Cool\Router->__construct()
#9 /home/wwwroot/pv_system/client/coolphp/App.php(16): Cool\App::instance('router')
#10 /home/wwwroot/pv_system/client/public/taojiuwang.cn/index.php(4): Cool\App::run()
#11 {main}