Warning: PDO::__construct(): MySQL server has gone away in /var/www/html/inlislite3/vendor/yiisoft/yii2/db/Connection.php on line 600

Warning: PDO::__construct(): Error while reading greeting packet. PID=1330 in /var/www/html/inlislite3/vendor/yiisoft/yii2/db/Connection.php on line 600

Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000] [2006] MySQL server has gone away' in /var/www/html/inlislite3/vendor/yiisoft/yii2/db/Connection.php:600 Stack trace: #0 /var/www/html/inlislite3/vendor/yiisoft/yii2/db/Connection.php(600): PDO->__construct('mysql:host=new-...', 'root', 'DPaD2112@!DiY', NULL) #1 /var/www/html/inlislite3/vendor/yiisoft/yii2/db/Connection.php(542): yii\db\Connection->createPdoInstance() #2 /var/www/html/inlislite3/backend/controllers/LanguageController.php(31): yii\db\Connection->open() #3 /var/www/html/inlislite3/opac/config/main.php(14): require('/var/www/html/i...') #4 /var/www/html/inlislite3/opac/index.php(16): require('/var/www/html/i...') #5 {main} Next exception 'yii\db\Exception' with message 'SQLSTATE[HY000] [2006] MySQL server has gone away' in /var/www/html/inlislite3/vendor/yiisoft/yii2/db/Connection.php:547 Stack trace: #0 /var/www/html/inlislite3/backend/controllers/LanguageController.php(31): yii\db\Connection->open() #1 /var/www/html/inlislite3/op in /var/www/html/inlislite3/vendor/yiisoft/yii2/db/Connection.php on line 547