错误提示
出错信息:SQLSTATE[HY000] [2002] Connection refused
出错文件:/www/wwwroot/cnlogger.com/ZhiCms/base/db/MysqlPdoDriver.php
错误行:180
Trace信息:
#0 /www/wwwroot/cnlogger.com/ZhiCms/base/db/MysqlPdoDriver.php(180) PDO->__construct()
#1 /www/wwwroot/cnlogger.com/ZhiCms/base/db/MysqlPdoDriver.php(207) ZhiCms\base\db\MysqlPdoDriver->_connect()
#2 /www/wwwroot/cnlogger.com/ZhiCms/base/db/MysqlPdoDriver.php(199) ZhiCms\base\db\MysqlPdoDriver->_getWriteLink()
#3 /www/wwwroot/cnlogger.com/ZhiCms/base/db/MysqlPdoDriver.php(24) ZhiCms\base\db\MysqlPdoDriver->_getReadLink()
#4 /www/wwwroot/cnlogger.com/ZhiCms/base/db/MysqlPdoDriver.php(20) ZhiCms\base\db\MysqlPdoDriver->query()
#5 /www/wwwroot/cnlogger.com/ZhiCms/base/Model.php(76) ZhiCms\base\db\MysqlPdoDriver->select()
#6 /www/wwwroot/cnlogger.com/ZhiCms/base/Model.php(49) ZhiCms\base\Model->select()
#7 /www/wwwroot/cnlogger.com/app/api/model/ApiDataModel.php(13) ZhiCms\base\Model->find()
#8 /www/wwwroot/cnlogger.com/app/index/controller/indexcontroller.php(126) app\api\model\ApiDataModel->Data_Select()
#9 /www/wwwroot/cnlogger.com/ZhiCms/base/App.php(57) app\index\controller\indexController->view()
#10 /www/wwwroot/cnlogger.com/ZhiCms/core.php(120) ZhiCms\base\App::run()
#11 /www/wwwroot/cnlogger.com/index.php(12) require()