Exception Trace
Code: [2002] can not connect database.please check the config file.
Message: SQLSTATE[HY000] [2002] ϵͳռ䲻ִ׽ϵIJ
File: D:\phpstudy_pro\WWW\vendor\phoenix\framework\src\Phoenix\PXPDO\AbstractDAO.php (Line:870)
Trace: #0 D:\phpstudy_pro\WWW\vendor\phoenix\framework\src\Phoenix\PXPDO\AbstractDAO.php(870): PDO->__construct('mysql:host=127....', 'root', 'root', Array)
#1 D:\phpstudy_pro\WWW\vendor\phoenix\framework\src\Phoenix\PXPDO\AbstractDAO.php(494): Phoenix\PXPDO\AbstractDAO->_lazyConn()
#2 D:\phpstudy_pro\WWW\vendor\phoenix\framework\src\Phoenix\PXPDO\AbstractDAO.php(466): Phoenix\PXPDO\AbstractDAO->prepare('SELECT a.*, ars...', Array, 'READ_ONE')
#3 D:\phpstudy_pro\WWW\vendor\phoenix\framework\src\Phoenix\PXPDO\AbstractDAO.php(730): Phoenix\PXPDO\AbstractDAO->prepareBindLevel2Cache('SELECT a.*, ars...', Array, 'READ_ONE')
#4 D:\phpstudy_pro\WWW\vendor\phoenix\framework\src\Phoenix\PXPDO\Mysql.php(101): Phoenix\PXPDO\AbstractDAO->sqlDataReadOne('SELECT a.*, ars...', Array)
#5 D:\phpstudy_pro\WWW\vendor\phoenix\framework\src\Phoenix\PXPDO\AbstractDecorator.php(205): Phoenix\PXPDO\Mysql->find()
#6 D:\phpstudy_pro\WWW\app\Repository\Impl\ArchivesImpl.php(34): Phoenix\PXPDO\AbstractDecorator->find()
#7 D:\phpstudy_pro\WWW\app\Service\Impl\ArchivesImpl.php(97): App\Repository\Impl\ArchivesImpl->find('21')
#8 D:\phpstudy_pro\WWW\app\ZhCN\Index.php(109): App\Service\Impl\ArchivesImpl->getSubstance('21')
#9 D:\phpstudy_pro\WWW\vendor\phoenix\framework\src\Phoenix\Routing\ProxyHandler.php(426): App\ZhCN\Index->detail(true)
#10 D:\phpstudy_pro\WWW\vendor\phoenix\framework\src\Phoenix\Routing\ProxyFactory.php(773): Phoenix\Routing\ProxyHandler->invoke('detail', Array)
#11 D:\phpstudy_pro\WWW\vendor\phoenix\framework\src\Phoenix\Routing\Controller.php(1112): Phoenix\Routing\ProxyFactory->invoke('App\\ZhCN\\Index', 'detail', Array)
#12 D:\phpstudy_pro\WWW\vendor\phoenix\framework\src\Phoenix\Routing\Controller.php(273): Phoenix\Routing\Controller->_controllerLoader()
#13 D:\phpstudy_pro\WWW\vendor\phoenix\framework\src\Phoenix\Routing\Controller.php(94): Phoenix\Routing\Controller->_runController()
#14 D:\phpstudy_pro\WWW\vendor\phoenix\framework\src\Phoenix\Routing\Controller.php(1313): Phoenix\Routing\Controller->run(Array, false)
#15 D:\phpstudy_pro\WWW\vendor\phoenix\framework\src\Phoenix\Foundation\Application.php(136): Phoenix\Routing\Controller::start(Array, false)
#16 D:\phpstudy_pro\WWW\vendor\phoenix\framework\src\Phoenix\Foundation\Application.php(36): Phoenix\Foundation\Application::dispatcher('/detail/21')
#17 D:\phpstudy_pro\WWW\app.php(5): Phoenix\Foundation\Application::bootstrap()
#18 D:\phpstudy_pro\WWW\index.php(3): require('D:\\phpstudy_pro...')
#19 {main}