:-O
Database connect error: SQLSTATE[HY000] [2006] MySQL server has gone away code: 2006
File:
File:/data/wwwroot/training_system/client/coolphp/Connection.php Line:129
Trace
Exception: Database connect error: SQLSTATE[HY000] [2006] MySQL server has gone away code: 2006 in /data/wwwroot/training_system/client/coolphp/Connection.php:129
Stack trace:
#0 /data/wwwroot/training_system/client/coolphp/Connection.php(79): Cool\Connection::connect(Array, Array)
#1 /data/wwwroot/training_system/client/coolphp/Model.php(83): Cool\Connection::instance(Array, Array)
#2 /data/wwwroot/training_system/client/coolphp/Model.php(53): Cool\Model->connect('mysql', 'default', Array)
#3 /data/wwwroot/training_system/client/coolphp/Model.php(65): Cool\Model->__construct()
#4 /data/wwwroot/training_system/client/coolphp/Model.php(146): Cool\Model::instance()
#5 /data/wwwroot/training_system/client/app/Model/SiteRoute.php(120): Cool\Model::where('site_id', 42)
#6 /data/wwwroot/training_system/client/coolphp/Router.php(250): App\Model\SiteRoute::get(42, 'article')
#7 /data/wwwroot/training_system/client/coolphp/Router.php(180): Cool\Router->parseWebApi(Array, 'http://www.hylq...', 'article')
#8 /data/wwwroot/training_system/client/coolphp/Router.php(39): Cool\Router->parseWeb()
#9 /data/wwwroot/training_system/client/coolphp/App.php(66): Cool\Router->__construct()
#10 /data/wwwroot/training_system/client/coolphp/App.php(16): Cool\App::instance('router')
#11 /data/wwwroot/training_system/client/public/hylqxly.com/index.php(4): Cool\App::run()
#12 {main}