Warning: Error while sending QUERY packet. PID=3923 in /home/prestashop/web/classes/db/DbPDO.php on line 165

Fatal error: Uncaught PrestaShopException: Link to database cannot be established: SQLSTATE[HY000] [2002] Connection refused in /home/prestashop/web/classes/db/DbPDO.php:136 Stack trace: #0 /home/prestashop/web/classes/db/Db.php(379): DbPDOCore->connect() #1 /home/prestashop/web/classes/db/Db.php(663): DbCore->query('SELECT *\nFROM `...') #2 /home/prestashop/web/src/Adapter/EntityMapper.php(76): DbCore->getRow('SELECT *\nFROM `...') #3 /home/prestashop/web/classes/ObjectModel.php(265): PrestaShop\PrestaShop\Adapter\EntityMapper->load('1', NULL, Object(ShopGroup), Array, NULL, true) #4 /home/prestashop/web/classes/shop/Shop.php(557): ObjectModelCore->__construct('1') #5 /home/prestashop/web/config/config.inc.php(182): ShopCore->getGroup() #6 /home/prestashop/web/index.php(27): require('/home/prestasho...') #7 {main} thrown in /home/prestashop/web/classes/db/DbPDO.php on line 136