:)

SQLSTATE[HY000] [1049] Unknown database 'erjimenhu'

错误位置

FILE: /data/wwwroot/zhonghuasd.com/erjimenhu/framework/Core/Library/Think/Db/Driver.class.php  LINE: 109

TRACE

#0 /data/wwwroot/zhonghuasd.com/erjimenhu/framework/Core/Library/Think/Db/Driver.class.php(109): E('SQLSTATE[HY000]...')
#1 /data/wwwroot/zhonghuasd.com/erjimenhu/framework/Core/Library/Think/Db/Driver.class.php(1075): Think\Db\Driver->connect()
#2 /data/wwwroot/zhonghuasd.com/erjimenhu/framework/Core/Library/Think/Db/Driver/Mysql.class.php(47): Think\Db\Driver->initConnect(true)
#3 /data/wwwroot/zhonghuasd.com/erjimenhu/framework/Core/Library/Think/Model.class.php(134): Think\Db\Driver\Mysql->getFields('zsd_plugins')
#4 /data/wwwroot/zhonghuasd.com/erjimenhu/framework/Core/Library/Think/Model.class.php(122): Think\Model->flush()
#5 /data/wwwroot/zhonghuasd.com/erjimenhu/framework/Core/Library/Think/Model.class.php(1454): Think\Model->_checkTableInfo()
#6 /data/wwwroot/zhonghuasd.com/erjimenhu/framework/Core/Library/Think/Model.class.php(97): Think\Model->db(0, '', true)
#7 /data/wwwroot/zhonghuasd.com/erjimenhu/framework/Core/Common/functions.php(621): Think\Model->__construct('Plugins', '', '')
#8 /data/wwwroot/zhonghuasd.com/erjimenhu/application/Common/Behavior/InitHookBehavior.class.php(24): M('Plugins')
#9 /data/wwwroot/zhonghuasd.com/erjimenhu/framework/Core/Library/Think/Hook.class.php(153): Common\Behavior\InitHookBehavior->run(NULL)
#10 /data/wwwroot/zhonghuasd.com/erjimenhu/framework/Core/Library/Think/Hook.class.php(89): Think\Hook::exec('Common\\Behavior...', 'app_init', NULL)
#11 /data/wwwroot/zhonghuasd.com/erjimenhu/framework/Core/Library/Think/App.class.php(194): Think\Hook::listen('app_init')
#12 /data/wwwroot/zhonghuasd.com/erjimenhu/framework/Core/Library/Think/Think.class.php(120): Think\App::run()
#13 /data/wwwroot/zhonghuasd.com/erjimenhu/framework/Core/ThinkPHP.php(97): Think\Think::start()
#14 /data/wwwroot/zhonghuasd.com/erjimenhu/index.php(44): require('/data/wwwroot/z...')
#15 {main}