:(

Unknown database 'tinmanwebsite'

错误位置

FILE: /opt/lampp/htdocs/tinman-website/ThinkPHP/3.2.2/Library/Think/Db/Driver/Mysql.class.php  LINE: 55

TRACE

#0 /opt/lampp/htdocs/tinman-website/ThinkPHP/3.2.2/Library/Think/Db/Driver/Mysql.class.php(55): E('Unknown databas...')
#1 /opt/lampp/htdocs/tinman-website/ThinkPHP/3.2.2/Library/Think/Db.class.php(166): Think\Db\Driver\Mysql->connect()
#2 /opt/lampp/htdocs/tinman-website/ThinkPHP/3.2.2/Library/Think/Db/Driver/Mysql.class.php(92): Think\Db->initConnect(false)
#3 /opt/lampp/htdocs/tinman-website/ThinkPHP/3.2.2/Library/Think/Db/Driver/Mysql.class.php(211): Think\Db\Driver\Mysql->query('SHOW COLUMNS FR...')
#4 /opt/lampp/htdocs/tinman-website/ThinkPHP/3.2.2/Library/Think/Model.class.php(130): Think\Db\Driver\Mysql->getFields('product')
#5 /opt/lampp/htdocs/tinman-website/ThinkPHP/3.2.2/Library/Think/Model.class.php(118): Think\Model->flush()
#6 /opt/lampp/htdocs/tinman-website/ThinkPHP/3.2.2/Library/Think/Model.class.php(1286): Think\Model->_checkTableInfo()
#7 /opt/lampp/htdocs/tinman-website/ThinkPHP/3.2.2/Library/Think/Model.class.php(95): Think\Model->db(0, '', true)
#8 /opt/lampp/htdocs/tinman-website/ThinkPHP/3.2.2/Common/functions.php(531): Think\Model->__construct('Product', '', '')
#9 /opt/lampp/htdocs/tinman-website/Application/OfficialWebsiteV2/Controller/AppController.class.php(266): M('Product')
#10 [internal function]: OfficialWebsiteV2\Controller\AppController->detail()
#11 /opt/lampp/htdocs/tinman-website/ThinkPHP/3.2.2/Library/Think/App.class.php(155): ReflectionMethod->invoke(Object(OfficialWebsiteV2\Controller\AppController))
#12 /opt/lampp/htdocs/tinman-website/ThinkPHP/3.2.2/Library/Think/App.class.php(193): Think\App::exec()
#13 /opt/lampp/htdocs/tinman-website/ThinkPHP/3.2.2/Library/Think/Think.class.php(120): Think\App::run()
#14 /opt/lampp/htdocs/tinman-website/ThinkPHP/3.2.2/ThinkPHP.php(96): Think\Think::start()
#15 /opt/lampp/htdocs/tinman-website/index.php(36): require('/opt/lampp/htdo...')
#16 {main}