Fatal error: Uncaught Exception: 连接数据库时出错:SQLSTATE[HY000] [2002] Connection refused in /usr/share/nginx/html/cy/protected/core/Database.php:474
Stack trace:
#0 /usr/share/nginx/html/cy/protected/core/Database.php(71): Database::setPdoObj('43.159.200.152', 'hengzhi_maoyi', 'root', 'ogh_919', 'utf8', 'mysql', '3306')
#1 /usr/share/nginx/html/hengzhi_maoyi/protected/module/site/controller/MainController.php(14): Database->__construct()
#2 /usr/share/nginx/html/cy/protected/core/CController.php(97): MainController->init()
#3 /usr/share/nginx/html/cy/protected/core/UrlRouter.php(58): CController->__construct('/usr/share/ngin...', 'main')
#4 /usr/share/nginx/html/hengzhi_maoyi/index.php(39): UrlRouter::explainRun()
#5 {main}
thrown in /usr/share/nginx/html/cy/protected/core/Database.php on line 474