PDOException: SQLSTATE[HY000] [2002] Connection refused in /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php:128 Stack trace: #0 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php(128): PDO->__construct('mysql:host=loca...', 'eshops-26-10-20', 'eshops-26-10-20', Array) #1 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Mysql.php(111): Zend_Db_Adapter_Pdo_Abstract->_connect() #2 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(410): Zend_Db_Adapter_Pdo_Mysql->_connect() #3 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(861): Magento\Framework\DB\Adapter\Pdo\Mysql->_connect() #4 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(1181): Zend_Db_Adapter_Abstract->quote('store_website') #5 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(2618): Magento\Framework\DB\Adapter\Pdo\Mysql->showTableStatus('store_website', NULL) #6 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/module-store/App/Config/Source/RuntimeConfigSource.php(92): Magento\Framework\DB\Adapter\Pdo\Mysql->isTableExists('store_website') #7 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/module-store/App/Config/Source/RuntimeConfigSource.php(58): Magento\Store\App\Config\Source\RuntimeConfigSource->getEntities('store_website', 'code') #8 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/framework/App/Config/ConfigSourceAggregated.php(40): Magento\Store\App\Config\Source\RuntimeConfigSource->get('') #9 /var/www/vhosts/eshops.gr/httpdocs/generated/code/Magento/Framework/App/Config/ConfigSourceAggregated/Proxy.php(95): Magento\Framework\App\Config\ConfigSourceAggregated->get('') #10 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/module-store/App/Config/Type/Scopes.php(63): Magento\Framework\App\Config\ConfigSourceAggregated\Proxy->get() #11 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/framework/App/Config.php(132): Magento\Store\App\Config\Type\Scopes->get('stores/1') #12 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/module-store/Model/StoreRepository.php(106): Magento\Framework\App\Config->get('scopes', 'stores/1', Array) #13 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/module-store/Model/StoreRepository.php(127): Magento\Store\Model\StoreRepository->getById('1') #14 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/module-store/Model/StoreResolver.php(181): Magento\Store\Model\StoreRepository->getActiveStoreById('1') #15 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/module-store/Model/StoreResolver.php(126): Magento\Store\Model\StoreResolver->getDefaultStoreById('1') #16 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/module-store/Model/StoreManager.php(160): Magento\Store\Model\StoreResolver->getCurrentStoreId() #17 /var/www/vhosts/eshops.gr/httpdocs/generated/code/Magento/Store/Model/StoreManagerInterface/Proxy.php(119): Magento\Store\Model\StoreManager->getStore(NULL) #18 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/module-store/Model/Resolver/Store.php(30): Magento\Store\Model\StoreManagerInterface\Proxy->getStore(NULL) #19 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/framework/App/Config/ScopeCodeResolver.php(49): Magento\Store\Model\Resolver\Store->getScope(NULL) #20 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/framework/App/Config.php(69): Magento\Framework\App\Config\ScopeCodeResolver->resolve('stores', NULL) #21 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/framework/Session/Config.php(155): Magento\Framework\App\Config->getValue('web/cookie/cook...', 'stores') #22 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(121): Magento\Framework\Session\Config->__construct(Object(Magento\Framework\ValidatorFactory), Object(Magento\Framework\App\Config), Object(Magento\Framework\Stdlib\StringUtils), Object(Magento\Framework\App\Request\Http), Object(Magento\Framework\Filesystem), Object(Magento\Framework\App\DeploymentConfig), 'store', 'web/cookie/cook...') #23 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/framework/ObjectManager/Factory/Compiled.php(108): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject('Magento\\Framewo...', Array) #24 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/framework/ObjectManager/Factory/Compiled.php(150): Magento\Framework\ObjectManager\Factory\Compiled->create('Magento\\Framewo...') #25 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/framework/ObjectManager/Factory/Compiled.php(79): Magento\Framework\ObjectManager\Factory\Compiled->get('Magento\\Framewo...') #26 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/framework/ObjectManager/Factory/Compiled.php(150): Magento\Framework\ObjectManager\Factory\Compiled->create('Magento\\Checkou...') #27 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/framework/ObjectManager/Factory/Compiled.php(79): Magento\Framework\ObjectManager\Factory\Compiled->get('Magento\\Checkou...') #28 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/framework/ObjectManager/Factory/Compiled.php(150): Magento\Framework\ObjectManager\Factory\Compiled->create('Magento\\Persist...') #29 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/framework/ObjectManager/Factory/Compiled.php(79): Magento\Framework\ObjectManager\Factory\Compiled->get('Magento\\Persist...') #30 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/framework/ObjectManager/ObjectManager.php(70): Magento\Framework\ObjectManager\Factory\Compiled->create('Magento\\Persist...') #31 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/framework/Interception/PluginList/PluginList.php(250): Magento\Framework\ObjectManager\ObjectManager->get('Magento\\Persist...') #32 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/framework/Interception/Interceptor.php(119): Magento\Framework\Interception\PluginList\PluginList->getPlugin('Magento\\Framewo...', 'persistent_page...') #33 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Http\Context\Interceptor->Magento\Framework\Interception\{closure}() #34 /var/www/vhosts/eshops.gr/httpdocs/generated/code/Magento/Framework/App/Http/Context/Interceptor.php(26): Magento\Framework\App\Http\Context\Interceptor->___callPlugins('getVaryString', Array, Array) #35 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/framework/App/Response/Http.php(108): Magento\Framework\App\Http\Context\Interceptor->getVaryString() #36 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/module-page-cache/Model/App/Response/HttpPlugin.php(25): Magento\Framework\App\Response\Http->sendVary() #37 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/framework/Interception/Interceptor.php(121): Magento\PageCache\Model\App\Response\HttpPlugin->beforeSendResponse(Object(Magento\Framework\App\Response\Http\Interceptor)) #38 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Response\Http\Interceptor->Magento\Framework\Interception\{closure}() #39 /var/www/vhosts/eshops.gr/httpdocs/generated/code/Magento/Framework/App/Response/Http/Interceptor.php(26): Magento\Framework\App\Response\Http\Interceptor->___callPlugins('sendResponse', Array, Array) #40 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/framework/App/ExceptionHandler.php(103): Magento\Framework\App\Response\Http\Interceptor->sendResponse() #41 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/framework/App/ExceptionHandler.php(70): Magento\Framework\App\ExceptionHandler->handleDeveloperMode(Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Adapter_Exception), Object(Magento\Framework\App\Response\Http\Interceptor)) #42 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/framework/App/Http.php(156): Magento\Framework\App\ExceptionHandler->handle(Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Adapter_Exception), Object(Magento\Framework\App\Response\Http\Interceptor), Object(Magento\Framework\App\Request\Http)) #43 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\Http->catchException(Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Adapter_Exception)) #44 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\App\Http\Interceptor->___callParent('catchException', Array) #45 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Http\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Adapter_Exception)) #46 /var/www/vhosts/eshops.gr/httpdocs/generated/code/Magento/Framework/App/Http/Interceptor.php(26): Magento\Framework\App\Http\Interceptor->___callPlugins('catchException', Array, Array) #47 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/framework/App/Bootstrap.php(267): Magento\Framework\App\Http\Interceptor->catchException(Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Adapter_Exception)) #48 /var/www/vhosts/eshops.gr/httpdocs/index.php(39): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http\Interceptor)) #49 {main} Next Zend_Db_Adapter_Exception: SQLSTATE[HY000] [2002] Connection refused in /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php:144 Stack trace: #0 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Mysql.php(111): Zend_Db_Adapter_Pdo_Abstract->_connect() #1 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(410): Zend_Db_Adapter_Pdo_Mysql->_connect() #2 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(861): Magento\Framework\DB\Adapter\Pdo\Mysql->_connect() #3 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(1181): Zend_Db_Adapter_Abstract->quote('store_website') #4 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(2618): Magento\Framework\DB\Adapter\Pdo\Mysql->showTableStatus('store_website', NULL) #5 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/module-store/App/Config/Source/RuntimeConfigSource.php(92): Magento\Framework\DB\Adapter\Pdo\Mysql->isTableExists('store_website') #6 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/module-store/App/Config/Source/RuntimeConfigSource.php(58): Magento\Store\App\Config\Source\RuntimeConfigSource->getEntities('store_website', 'code') #7 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/framework/App/Config/ConfigSourceAggregated.php(40): Magento\Store\App\Config\Source\RuntimeConfigSource->get('') #8 /var/www/vhosts/eshops.gr/httpdocs/generated/code/Magento/Framework/App/Config/ConfigSourceAggregated/Proxy.php(95): Magento\Framework\App\Config\ConfigSourceAggregated->get('') #9 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/module-store/App/Config/Type/Scopes.php(63): Magento\Framework\App\Config\ConfigSourceAggregated\Proxy->get() #10 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/framework/App/Config.php(132): Magento\Store\App\Config\Type\Scopes->get('stores/1') #11 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/module-store/Model/StoreRepository.php(106): Magento\Framework\App\Config->get('scopes', 'stores/1', Array) #12 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/module-store/Model/StoreRepository.php(127): Magento\Store\Model\StoreRepository->getById('1') #13 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/module-store/Model/StoreResolver.php(181): Magento\Store\Model\StoreRepository->getActiveStoreById('1') #14 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/module-store/Model/StoreResolver.php(126): Magento\Store\Model\StoreResolver->getDefaultStoreById('1') #15 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/module-store/Model/StoreManager.php(160): Magento\Store\Model\StoreResolver->getCurrentStoreId() #16 /var/www/vhosts/eshops.gr/httpdocs/generated/code/Magento/Store/Model/StoreManagerInterface/Proxy.php(119): Magento\Store\Model\StoreManager->getStore(NULL) #17 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/module-store/Model/Resolver/Store.php(30): Magento\Store\Model\StoreManagerInterface\Proxy->getStore(NULL) #18 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/framework/App/Config/ScopeCodeResolver.php(49): Magento\Store\Model\Resolver\Store->getScope(NULL) #19 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/framework/App/Config.php(69): Magento\Framework\App\Config\ScopeCodeResolver->resolve('stores', NULL) #20 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/framework/Session/Config.php(155): Magento\Framework\App\Config->getValue('web/cookie/cook...', 'stores') #21 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(121): Magento\Framework\Session\Config->__construct(Object(Magento\Framework\ValidatorFactory), Object(Magento\Framework\App\Config), Object(Magento\Framework\Stdlib\StringUtils), Object(Magento\Framework\App\Request\Http), Object(Magento\Framework\Filesystem), Object(Magento\Framework\App\DeploymentConfig), 'store', 'web/cookie/cook...') #22 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/framework/ObjectManager/Factory/Compiled.php(108): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject('Magento\\Framewo...', Array) #23 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/framework/ObjectManager/Factory/Compiled.php(150): Magento\Framework\ObjectManager\Factory\Compiled->create('Magento\\Framewo...') #24 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/framework/ObjectManager/Factory/Compiled.php(79): Magento\Framework\ObjectManager\Factory\Compiled->get('Magento\\Framewo...') #25 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/framework/ObjectManager/Factory/Compiled.php(150): Magento\Framework\ObjectManager\Factory\Compiled->create('Magento\\Checkou...') #26 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/framework/ObjectManager/Factory/Compiled.php(79): Magento\Framework\ObjectManager\Factory\Compiled->get('Magento\\Checkou...') #27 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/framework/ObjectManager/Factory/Compiled.php(150): Magento\Framework\ObjectManager\Factory\Compiled->create('Magento\\Persist...') #28 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/framework/ObjectManager/Factory/Compiled.php(79): Magento\Framework\ObjectManager\Factory\Compiled->get('Magento\\Persist...') #29 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/framework/ObjectManager/ObjectManager.php(70): Magento\Framework\ObjectManager\Factory\Compiled->create('Magento\\Persist...') #30 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/framework/Interception/PluginList/PluginList.php(250): Magento\Framework\ObjectManager\ObjectManager->get('Magento\\Persist...') #31 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/framework/Interception/Interceptor.php(119): Magento\Framework\Interception\PluginList\PluginList->getPlugin('Magento\\Framewo...', 'persistent_page...') #32 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Http\Context\Interceptor->Magento\Framework\Interception\{closure}() #33 /var/www/vhosts/eshops.gr/httpdocs/generated/code/Magento/Framework/App/Http/Context/Interceptor.php(26): Magento\Framework\App\Http\Context\Interceptor->___callPlugins('getVaryString', Array, Array) #34 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/framework/App/Response/Http.php(108): Magento\Framework\App\Http\Context\Interceptor->getVaryString() #35 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/module-page-cache/Model/App/Response/HttpPlugin.php(25): Magento\Framework\App\Response\Http->sendVary() #36 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/framework/Interception/Interceptor.php(121): Magento\PageCache\Model\App\Response\HttpPlugin->beforeSendResponse(Object(Magento\Framework\App\Response\Http\Interceptor)) #37 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Response\Http\Interceptor->Magento\Framework\Interception\{closure}() #38 /var/www/vhosts/eshops.gr/httpdocs/generated/code/Magento/Framework/App/Response/Http/Interceptor.php(26): Magento\Framework\App\Response\Http\Interceptor->___callPlugins('sendResponse', Array, Array) #39 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/framework/App/ExceptionHandler.php(103): Magento\Framework\App\Response\Http\Interceptor->sendResponse() #40 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/framework/App/ExceptionHandler.php(70): Magento\Framework\App\ExceptionHandler->handleDeveloperMode(Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Adapter_Exception), Object(Magento\Framework\App\Response\Http\Interceptor)) #41 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/framework/App/Http.php(156): Magento\Framework\App\ExceptionHandler->handle(Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Adapter_Exception), Object(Magento\Framework\App\Response\Http\Interceptor), Object(Magento\Framework\App\Request\Http)) #42 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\Http->catchException(Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Adapter_Exception)) #43 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\App\Http\Interceptor->___callParent('catchException', Array) #44 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Http\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Adapter_Exception)) #45 /var/www/vhosts/eshops.gr/httpdocs/generated/code/Magento/Framework/App/Http/Interceptor.php(26): Magento\Framework\App\Http\Interceptor->___callPlugins('catchException', Array, Array) #46 /var/www/vhosts/eshops.gr/httpdocs/vendor/magento/framework/App/Bootstrap.php(267): Magento\Framework\App\Http\Interceptor->catchException(Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Adapter_Exception)) #47 /var/www/vhosts/eshops.gr/httpdocs/index.php(39): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http\Interceptor)) #48 {main}