:-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/app/Model/Question.php(31): Cool\Model::where('question_id', 27597)
#6 /home/wwwroot/pv_system/client/app/Controller/Api/Ask/DetailController.php(15): App\Model\Question::getDetail(27597)
#7 [internal function]: App\Controller\Api\Ask\DetailController->index()
#8 /home/wwwroot/pv_system/client/coolphp/App.php(27): call_user_func_array(Array, Array)
#9 /home/wwwroot/pv_system/client/public/taojiuwang.cn/index.php(4): Cool\App::run()
#10 {main}