Fatal error: Uncaught PDOException: PDO::__construct(): Error while reading greeting packet. PID=3431524 in /www/wwwroot/zq.com/app/database.php:105
Stack trace:
#0 /www/wwwroot/zq.com/app/database.php(105): PDO->__construct()
#1 /www/wwwroot/zq.com/app/repositories/domains.php(22): lightcms_database_connection()
#2 /www/wwwroot/zq.com/app/repositories/domains.php(54): domain_repository_rows()
#3 /www/wwwroot/zq.com/app/storage.php(149): domain_repository_roots()
#4 /www/wwwroot/zq.com/app/storage.php(164): read_domain_roots()
#5 /www/wwwroot/zq.com/app/storage.php(292): active_domains()
#6 /www/wwwroot/zq.com/index.php(17): request_domain()
#7 {main}
Next PDOException: SQLSTATE[HY000] [2006] MySQL server has gone away in /www/wwwroot/zq.com/app/database.php:105
Stack trace:
#0 /www/wwwroot/zq.com/app/database.php(105): PDO->__construct()
#1 /www/wwwroot/zq.com/app/repositories/domains.php(22): lightcms_database_connection()
#2 /www/wwwroot/zq.com/app/repositories/domains.php(54): domain_repository_rows()
#3 /www/wwwroot/zq.com/app/storage.php(149): domain_repository_roots()
#4 /www/wwwroot/zq.com/app/storage.php(164): read_domain_roots()
#5 /www/wwwroot/zq.com/app/storage.php(292): active_domains()
#6 /www/wwwroot/zq.com/index.php(17): request_domain()
#7 {main}
Next RuntimeException: 数据库连接失败:SQLSTATE[HY000] [2006] MySQL server has gone away in /www/wwwroot/zq.com/app/database.php:112
Stack trace:
#0 /www/wwwroot/zq.com/app/repositories/domains.php(22): lightcms_database_connection()
#1 /www/wwwroot/zq.com/app/repositories/domains.php(54): domain_repository_rows()
#2 /www/wwwroot/zq.com/app/storage.php(149): domain_repository_roots()
#3 /www/wwwroot/zq.com/app/storage.php(164): read_domain_roots()
#4 /www/wwwroot/zq.com/app/storage.php(292): active_domains()
#5 /www/wwwroot/zq.com/index.php(17): request_domain()
#6 {main}
thrown in /www/wwwroot/zq.com/app/database.php on line 112