Warning: PDO::__construct(): MySQL server has gone away in /var/www/html/shopware/engine/Shopware/Components/DependencyInjection/Bridge/Db.php on line 60

Warning: PDO::__construct(): Error while reading greeting packet. PID=1050586 in /var/www/html/shopware/engine/Shopware/Components/DependencyInjection/Bridge/Db.php on line 60

Fatal error: Uncaught exception 'RuntimeException' with message 'Could not connect to database. Message from SQL Server: SQLSTATE[HY000] [2006] MySQL server has gone away' in /var/www/html/shopware/engine/Shopware/Components/DependencyInjection/Bridge/Db.php:78 Stack trace: #0 /var/www/html/shopware/engine/Shopware/Kernel.php(283): Shopware\Components\DependencyInjection\Bridge\Db::createPDO(Array) #1 /var/www/html/shopware/engine/Shopware/Components/HttpCache/AppCache.php(262): Shopware\Kernel->boot() #2 /var/www/html/shopware/vendor/symfony/http-kernel/HttpCache/HttpCache.php(393): Shopware\Components\HttpCache\AppCache->forward(Object(Symfony\Component\HttpFoundation\Request), true, Object(Symfony\Component\HttpFoundation\Response)) #3 /var/www/html/shopware/vendor/symfony/http-kernel/HttpCache/HttpCache.php(350): Symfony\Component\HttpKernel\HttpCache\HttpCache->validate(Object(Symfony\Component\HttpFoundation\Request), Object(Symfony\Component\HttpFoundation\Response), true) #4 /var/www/html/shopware/engine/Shopware/ in /var/www/html/shopware/engine/Shopware/Components/DependencyInjection/Bridge/Db.php on line 78