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 `scenic_...', Array, 'READ_ONE')
#3 D:\phpstudy_pro\WWW\vendor\phoenix\framework\src\Phoenix\PXPDO\AbstractDAO.php(730): Phoenix\PXPDO\AbstractDAO->prepareBindLevel2Cache('SELECT `scenic_...', Array, 'READ_ONE')
#4 D:\phpstudy_pro\WWW\vendor\phoenix\framework\src\Phoenix\PXPDO\Mysql.php(101): Phoenix\PXPDO\AbstractDAO->sqlDataReadOne('SELECT `scenic_...', 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\ScenicImpl.php(77): Phoenix\PXPDO\AbstractDecorator->find()
#7 D:\phpstudy_pro\WWW\app\ZhCN\Ticket.php(94): App\Repository\Impl\ScenicImpl->findScenicDetail('3')
#8 D:\phpstudy_pro\WWW\vendor\phoenix\framework\src\Phoenix\Routing\ProxyHandler.php(426): App\ZhCN\Ticket->scenicDetail(true)
#9 D:\phpstudy_pro\WWW\vendor\phoenix\framework\src\Phoenix\Routing\ProxyFactory.php(773): Phoenix\Routing\ProxyHandler->invoke('scenicDetail', Array)
#10 D:\phpstudy_pro\WWW\vendor\phoenix\framework\src\Phoenix\Routing\Controller.php(1112): Phoenix\Routing\ProxyFactory->invoke('App\\ZhCN\\Ticket', 'scenicDetail', Array)
#11 D:\phpstudy_pro\WWW\vendor\phoenix\framework\src\Phoenix\Routing\Controller.php(273): Phoenix\Routing\Controller->_controllerLoader()
#12 D:\phpstudy_pro\WWW\vendor\phoenix\framework\src\Phoenix\Routing\Controller.php(94): Phoenix\Routing\Controller->_runController()
#13 D:\phpstudy_pro\WWW\vendor\phoenix\framework\src\Phoenix\Routing\Controller.php(1313): Phoenix\Routing\Controller->run(Array, false)
#14 D:\phpstudy_pro\WWW\vendor\phoenix\framework\src\Phoenix\Foundation\Application.php(136): Phoenix\Routing\Controller::start(Array, false)
#15 D:\phpstudy_pro\WWW\vendor\phoenix\framework\src\Phoenix\Foundation\Application.php(36): Phoenix\Foundation\Application::dispatcher('/scenic/detail/...')
#16 D:\phpstudy_pro\WWW\app.php(5): Phoenix\Foundation\Application::bootstrap()
#17 D:\phpstudy_pro\WWW\index.php(3): require('D:\\phpstudy_pro...')
#18 {main}