:(

Unknown database 'redcap'

错误位置

FILE: /var/www/html/redcap/ThinkPHP/Lib/Core/Db.class.php  LINE: 162

TRACE

[19-01-24 06:35:01] /var/www/html/redcap/ThinkPHP/Lib/Core/Db.class.php (162) DbMysql->connect()
[19-01-24 06:35:01] /var/www/html/redcap/ThinkPHP/Lib/Driver/Db/DbMysql.class.php (94) Db->initConnect()
[19-01-24 06:35:01] /var/www/html/redcap/ThinkPHP/Lib/Core/Model.class.php (1097) DbMysql->query(select nCon from news)
[19-01-24 06:35:01] /var/www/html/redcap/index/Lib/Action/IndexAction.class.php (7) Model->query(select nCon from news)
[19-01-24 06:35:01] () IndexAction->index()
[19-01-24 06:35:01] /var/www/html/redcap/ThinkPHP/Lib/Core/App.class.php (171) ReflectionMethod->invoke()
[19-01-24 06:35:01] /var/www/html/redcap/ThinkPHP/Lib/Core/App.class.php (207) App::exec()
[19-01-24 06:35:01] /var/www/html/redcap/ThinkPHP/Lib/Core/Think.class.php (39) App::run()
[19-01-24 06:35:01] /var/www/html/redcap/ThinkPHP/Common/runtime.php (242) Think::start()
[19-01-24 06:35:01] /var/www/html/redcap/ThinkPHP/ThinkPHP.php (36) require(/var/www/html/redcap/ThinkPHP/Common/runtime.php)
[19-01-24 06:35:01] /var/www/html/redcap/index.php (11) require(/var/www/html/redcap/ThinkPHP/ThinkPHP.php)