#384.创建数据库报错


SQLSTATE[HY000] [2002] No such file or directory

错误位置


FILE: /work/installed/apache/htdocs/ThinkCMFX/simplewind/Core/Library/Think/Db/Driver.class.php  LINE: 109

TRACE


#0 /work/installed/apache/htdocs/ThinkCMFX/simplewind/Core/Library/Think/Db/Driver.class.php(109): E('SQLSTATE[HY000]...')

#1 /work/installed/apache/htdocs/ThinkCMFX/simplewind/Core/Library/Think/Db/Driver.class.php(1077): Think\Db\Driver->connect()

#2 /work/installed/apache/htdocs/ThinkCMFX/simplewind/Core/Library/Think/Db/Driver.class.php(193): Think\Db\Driver->initConnect(true)

#3 /work/installed/apache/htdocs/ThinkCMFX/application/Install/Controller/IndexController.class.php(146): Think\Db\Driver->execute('CREATE DATABASE...')

#4 [internal function]: Install\Controller\IndexController->step4()

#5 /work/installed/apache/htdocs/ThinkCMFX/simplewind/Core/Library/Think/App.class.php(173): ReflectionMethod->invoke(Object(Install\Controller\IndexController))

#6 /work/installed/apache/htdocs/ThinkCMFX/simplewind/Core/Library/Think/App.class.php(110): Think\App::invokeAction(Object(Install\Controller\IndexController), 'step4')

#7 /work/installed/apache/htdocs/ThinkCMFX/simplewind/Core/Library/Think/App.class.php(204): Think\App::exec()

#8 /work/installed/apache/htdocs/ThinkCMFX/simplewind/Core/Library/Think/Think.class.php(120): Think\App::run()

#9 /work/installed/apache/htdocs/ThinkCMFX/simplewind/Core/ThinkPHP.php(97): Think\Think::start()

#10 /work/installed/apache/htdocs/ThinkCMFX/index.php(59): require('/work/installed...')

#11 {main}


ThinkCMF {Simple content manage Framework } -- [ WE CAN DO IT MORE SIMPLE ]



评论



反馈bug

分享

广告赞助