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 `ad_titl...', Array, 'READ')
#3 D:\phpstudy_pro\WWW\vendor\phoenix\framework\src\Phoenix\PXPDO\Mysql.php(83): Phoenix\PXPDO\AbstractDAO->prepareBindLevel2Cache('SELECT `ad_titl...', Array)
#4 D:\phpstudy_pro\WWW\vendor\phoenix\framework\src\Phoenix\PXPDO\AbstractDecorator.php(201): Phoenix\PXPDO\Mysql->findAll()
#5 D:\phpstudy_pro\WWW\app\Repository\Impl\ArchivesImpl.php(126): Phoenix\PXPDO\AbstractDecorator->findAll()
#6 D:\phpstudy_pro\WWW\app\ZhCN\Ticket.php(83): App\Repository\Impl\ArchivesImpl->getAd(0, 2)
#7 D:\phpstudy_pro\WWW\vendor\phoenix\framework\src\Phoenix\Routing\ProxyHandler.php(413): App\ZhCN\Ticket->scenic()
#8 D:\phpstudy_pro\WWW\vendor\phoenix\framework\src\Phoenix\Routing\ProxyFactory.php(773): Phoenix\Routing\ProxyHandler->invoke('scenic', Array)
#9 D:\phpstudy_pro\WWW\vendor\phoenix\framework\src\Phoenix\Routing\Controller.php(1112): Phoenix\Routing\ProxyFactory->invoke('App\\ZhCN\\Ticket', 'scenic', Array)
#10 D:\phpstudy_pro\WWW\vendor\phoenix\framework\src\Phoenix\Routing\Controller.php(273): Phoenix\Routing\Controller->_controllerLoader()
#11 D:\phpstudy_pro\WWW\vendor\phoenix\framework\src\Phoenix\Routing\Controller.php(94): Phoenix\Routing\Controller->_runController()
#12 D:\phpstudy_pro\WWW\vendor\phoenix\framework\src\Phoenix\Routing\Controller.php(1313): Phoenix\Routing\Controller->run(Array, false)
#13 D:\phpstudy_pro\WWW\vendor\phoenix\framework\src\Phoenix\Foundation\Application.php(136): Phoenix\Routing\Controller::start(Array, false)
#14 D:\phpstudy_pro\WWW\vendor\phoenix\framework\src\Phoenix\Foundation\Application.php(36): Phoenix\Foundation\Application::dispatcher('/scenic')
#15 D:\phpstudy_pro\WWW\app.php(5): Phoenix\Foundation\Application::bootstrap()
#16 D:\phpstudy_pro\WWW\index.php(3): require('D:\\phpstudy_pro...')
#17 {main}