php运行出现这个求解决
Fatalerror:Uncaughtexception'PDOException'withmessage'SQLSTATE[42000][1049]Unknowndat...
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42000] [1049] Unknown database 'pe301'' in F:\APMServ5.2.6\www\htdocs\lib\pepdo.cls.php:23 Stack trace: #0 F:\APMServ5.2.6\www\htdocs\lib\pepdo.cls.php(23): PDO->__construct('mysql:host=loca...', 'root', '') #1 F:\APMServ5.2.6\www\htdocs\lib\pepdo.cls.php(90): pepdo->connect() #2 F:\APMServ5.2.6\www\htdocs\lib\session.cls.php(86): pepdo->fetch(Array) #3 F:\APMServ5.2.6\www\htdocs\lib\session.cls.php(31): session->getSessionValue('797c9dfec12bd1c...') #4 F:\APMServ5.2.6\www\htdocs\lib\session.cls.php(17): session->getSessionId() #5 F:\APMServ5.2.6\www\htdocs\lib\init.cls.php(79): session->__construct(Object(ginkgo)) #6 F:\APMServ5.2.6\www\htdocs\app\content\app.php(19): ginkgo->make('session') #7 F:\APMServ5.2.6\www\htdocs\lib\init.cls.php(130): app->__construct(Object(ginkgo)) #8 F:\APMServ5.2.6\www\htdocs\index.php(8): ginkgo->run() #9 {main} thrown in F:\APMServ5.2.6\www\htdocs\lib\pepdo.cls.php on line 23
展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询