:(

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

错误位置

FILE: /web/www/otxt/www.chinesewww.net/Core/ThinkPHP/Library/Think/Db/Driver.class.php  LINE: 182

TRACE

#0 /web/www/otxt/www.chinesewww.net/Core/ThinkPHP/Library/Think/Db/Driver.class.php(182): E('SQLSTATE[HY000]...')
#1 /web/www/otxt/www.chinesewww.net/Core/ThinkPHP/Library/Think/Db/Driver.class.php(1572): Think\Db\Driver->connect()
#2 /web/www/otxt/www.chinesewww.net/Core/ThinkPHP/Library/Think/Db/Driver/Mysql.class.php(50): Think\Db\Driver->initConnect(true)
#3 /web/www/otxt/www.chinesewww.net/Core/ThinkPHP/Library/Think/Model.class.php(126): Think\Db\Driver\Mysql->getFields('ot_hooks')
#4 /web/www/otxt/www.chinesewww.net/Core/ThinkPHP/Library/Think/Model.class.php(114): Think\Model->flush()
#5 /web/www/otxt/www.chinesewww.net/Core/ThinkPHP/Library/Think/Model.class.php(1439): Think\Model->_checkTableInfo()
#6 /web/www/otxt/www.chinesewww.net/Core/ThinkPHP/Library/Think/Model.class.php(89): Think\Model->db(0, '', true)
#7 /web/www/otxt/www.chinesewww.net/Core/ThinkPHP/Common/functions.php(628): Think\Model->__construct('Hooks', '', '')
#8 /web/www/otxt/www.chinesewww.net/Core/Application/Common/Behavior/InitHookBehavior.class.php(25): M('Hooks')
#9 /web/www/otxt/www.chinesewww.net/Core/ThinkPHP/Library/Think/Hook.class.php(116): Common\Behavior\InitHookBehavior->run(NULL)
#10 /web/www/otxt/www.chinesewww.net/Core/ThinkPHP/Library/Think/Hook.class.php(85): Think\Hook::exec('Common\\Behavior...', 'run', NULL)
#11 /web/www/otxt/www.chinesewww.net/Core/ThinkPHP/Library/Think/App.class.php(155): Think\Hook::listen('app_init')
#12 /web/www/otxt/www.chinesewww.net/Core/ThinkPHP/Library/Think/Think.class.php(176): Think\App::run()
#13 /web/www/otxt/www.chinesewww.net/Core/ThinkPHP/ThinkPHP.php(94): Think\Think::start()
#14 /web/www/otxt/www.chinesewww.net/static/index.php(18): require('/web/www/otxt/w...')
#15 {main}