PDOException: SQLSTATE[HY000] [2002] Connection refused in /var/www/html/verfwebshop.be/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php:128 Stack trace: #0 /var/www/html/verfwebshop.be/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php(128): PDO->__construct() #1 /var/www/html/verfwebshop.be/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Mysql.php(111): Zend_Db_Adapter_Pdo_Abstract->_connect() #2 /var/www/html/verfwebshop.be/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(422): Zend_Db_Adapter_Pdo_Mysql->_connect() #3 /var/www/html/verfwebshop.be/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(587): Magento\Framework\DB\Adapter\Pdo\Mysql->_connect() #4 /var/www/html/verfwebshop.be/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(625): Magento\Framework\DB\Adapter\Pdo\Mysql->_query() #5 /var/www/html/verfwebshop.be/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(794): Magento\Framework\DB\Adapter\Pdo\Mysql->query() #6 /var/www/html/verfwebshop.be/app/code/Amasty/GdprCookie/Model/Repository/CookieRepository.php(199): Zend_Db_Adapter_Abstract->fetchCol() #7 /var/www/html/verfwebshop.be/app/code/Amasty/GdprCookie/Model/CookieManager.php(100): Amasty\GdprCookie\Model\Repository\CookieRepository->getEssentialCookieNames() #8 /var/www/html/verfwebshop.be/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(121): Amasty\GdprCookie\Model\CookieManager->__construct() #9 /var/www/html/verfwebshop.be/vendor/magento/framework/ObjectManager/Factory/Compiled.php(108): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject() #10 /var/www/html/verfwebshop.be/vendor/magento/framework/ObjectManager/Factory/Compiled.php(150): Magento\Framework\ObjectManager\Factory\Compiled->create() #11 /var/www/html/verfwebshop.be/vendor/magento/framework/ObjectManager/Factory/Compiled.php(79): Magento\Framework\ObjectManager\Factory\Compiled->get() #12 /var/www/html/verfwebshop.be/vendor/magento/framework/ObjectManager/ObjectManager.php(70): Magento\Framework\ObjectManager\Factory\Compiled->create() #13 /var/www/html/verfwebshop.be/vendor/magento/framework/Interception/PluginList/PluginList.php(250): Magento\Framework\ObjectManager\ObjectManager->get() #14 /var/www/html/verfwebshop.be/vendor/magento/framework/Interception/Interceptor.php(119): Magento\Framework\Interception\PluginList\PluginList->getPlugin() #15 /var/www/html/verfwebshop.be/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Response\Http\Interceptor->Magento\Framework\Interception\{closure}() #16 /var/www/html/verfwebshop.be/generated/code/Magento/Framework/App/Response/Http/Interceptor.php(117): Magento\Framework\App\Response\Http\Interceptor->___callPlugins() #17 /var/www/html/verfwebshop.be/vendor/magento/framework/App/ExceptionHandler.php(103): Magento\Framework\App\Response\Http\Interceptor->sendResponse() #18 /var/www/html/verfwebshop.be/vendor/magento/framework/App/ExceptionHandler.php(70): Magento\Framework\App\ExceptionHandler->handleDeveloperMode() #19 /var/www/html/verfwebshop.be/vendor/magento/framework/App/Http.php(156): Magento\Framework\App\ExceptionHandler->handle() #20 /var/www/html/verfwebshop.be/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\Http->catchException() #21 /var/www/html/verfwebshop.be/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\App\Http\Interceptor->___callParent() #22 /var/www/html/verfwebshop.be/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Http\Interceptor->Magento\Framework\Interception\{closure}() #23 /var/www/html/verfwebshop.be/generated/code/Magento/Framework/App/Http/Interceptor.php(39): Magento\Framework\App\Http\Interceptor->___callPlugins() #24 /var/www/html/verfwebshop.be/vendor/magento/framework/App/Bootstrap.php(269): Magento\Framework\App\Http\Interceptor->catchException() #25 /var/www/html/verfwebshop.be/pub/index.php(40): Magento\Framework\App\Bootstrap->run() #26 {main} Next Zend_Db_Adapter_Exception: SQLSTATE[HY000] [2002] Connection refused in /var/www/html/verfwebshop.be/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php:144 Stack trace: #0 /var/www/html/verfwebshop.be/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Mysql.php(111): Zend_Db_Adapter_Pdo_Abstract->_connect() #1 /var/www/html/verfwebshop.be/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(422): Zend_Db_Adapter_Pdo_Mysql->_connect() #2 /var/www/html/verfwebshop.be/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(587): Magento\Framework\DB\Adapter\Pdo\Mysql->_connect() #3 /var/www/html/verfwebshop.be/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(625): Magento\Framework\DB\Adapter\Pdo\Mysql->_query() #4 /var/www/html/verfwebshop.be/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(794): Magento\Framework\DB\Adapter\Pdo\Mysql->query() #5 /var/www/html/verfwebshop.be/app/code/Amasty/GdprCookie/Model/Repository/CookieRepository.php(199): Zend_Db_Adapter_Abstract->fetchCol() #6 /var/www/html/verfwebshop.be/app/code/Amasty/GdprCookie/Model/CookieManager.php(100): Amasty\GdprCookie\Model\Repository\CookieRepository->getEssentialCookieNames() #7 /var/www/html/verfwebshop.be/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(121): Amasty\GdprCookie\Model\CookieManager->__construct() #8 /var/www/html/verfwebshop.be/vendor/magento/framework/ObjectManager/Factory/Compiled.php(108): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject() #9 /var/www/html/verfwebshop.be/vendor/magento/framework/ObjectManager/Factory/Compiled.php(150): Magento\Framework\ObjectManager\Factory\Compiled->create() #10 /var/www/html/verfwebshop.be/vendor/magento/framework/ObjectManager/Factory/Compiled.php(79): Magento\Framework\ObjectManager\Factory\Compiled->get() #11 /var/www/html/verfwebshop.be/vendor/magento/framework/ObjectManager/ObjectManager.php(70): Magento\Framework\ObjectManager\Factory\Compiled->create() #12 /var/www/html/verfwebshop.be/vendor/magento/framework/Interception/PluginList/PluginList.php(250): Magento\Framework\ObjectManager\ObjectManager->get() #13 /var/www/html/verfwebshop.be/vendor/magento/framework/Interception/Interceptor.php(119): Magento\Framework\Interception\PluginList\PluginList->getPlugin() #14 /var/www/html/verfwebshop.be/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Response\Http\Interceptor->Magento\Framework\Interception\{closure}() #15 /var/www/html/verfwebshop.be/generated/code/Magento/Framework/App/Response/Http/Interceptor.php(117): Magento\Framework\App\Response\Http\Interceptor->___callPlugins() #16 /var/www/html/verfwebshop.be/vendor/magento/framework/App/ExceptionHandler.php(103): Magento\Framework\App\Response\Http\Interceptor->sendResponse() #17 /var/www/html/verfwebshop.be/vendor/magento/framework/App/ExceptionHandler.php(70): Magento\Framework\App\ExceptionHandler->handleDeveloperMode() #18 /var/www/html/verfwebshop.be/vendor/magento/framework/App/Http.php(156): Magento\Framework\App\ExceptionHandler->handle() #19 /var/www/html/verfwebshop.be/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\Http->catchException() #20 /var/www/html/verfwebshop.be/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\App\Http\Interceptor->___callParent() #21 /var/www/html/verfwebshop.be/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Http\Interceptor->Magento\Framework\Interception\{closure}() #22 /var/www/html/verfwebshop.be/generated/code/Magento/Framework/App/Http/Interceptor.php(39): Magento\Framework\App\Http\Interceptor->___callPlugins() #23 /var/www/html/verfwebshop.be/vendor/magento/framework/App/Bootstrap.php(269): Magento\Framework\App\Http\Interceptor->catchException() #24 /var/www/html/verfwebshop.be/pub/index.php(40): Magento\Framework\App\Bootstrap->run() #25 {main}