PDOException: SQLSTATE[HY000] [2002] Connection refused in /home/mercadiacity/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php:128 Stack trace: #0 /home/mercadiacity/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php(128): PDO->__construct('mysql:host=loca...', 'mercadia_mgnt', 'yS636.A.mp', Array) #1 /home/mercadiacity/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Mysql.php(111): Zend_Db_Adapter_Pdo_Abstract->_connect() #2 /home/mercadiacity/public_html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(422): Zend_Db_Adapter_Pdo_Mysql->_connect() #3 /home/mercadiacity/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(861): Magento\Framework\DB\Adapter\Pdo\Mysql->_connect() #4 /home/mercadiacity/public_html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(1197): Zend_Db_Adapter_Abstract->quote('session') #5 /home/mercadiacity/public_html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(2660): Magento\Framework\DB\Adapter\Pdo\Mysql->showTableStatus('session', NULL) #6 /home/mercadiacity/public_html/vendor/magento/framework/Session/SaveHandler/DbTable.php(56): Magento\Framework\DB\Adapter\Pdo\Mysql->isTableExists('session') #7 /home/mercadiacity/public_html/vendor/magento/framework/Session/SaveHandler/DbTable.php(40): Magento\Framework\Session\SaveHandler\DbTable->checkConnection() #8 /home/mercadiacity/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(121): Magento\Framework\Session\SaveHandler\DbTable->__construct(Object(Magento\Framework\App\ResourceConnection\Interceptor)) #9 /home/mercadiacity/public_html/vendor/magento/framework/ObjectManager/Factory/Compiled.php(108): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject('Magento\\Framewo...', Array) #10 /home/mercadiacity/public_html/vendor/magento/framework/ObjectManager/ObjectManager.php(56): Magento\Framework\ObjectManager\Factory\Compiled->create('Magento\\Framewo...', Array) #11 /home/mercadiacity/public_html/vendor/magento/framework/Session/SaveHandlerFactory.php(61): Magento\Framework\ObjectManager\ObjectManager->create('Magento\\Framewo...', Array) #12 /home/mercadiacity/public_html/vendor/magento/framework/Session/SaveHandler.php(137): Magento\Framework\Session\SaveHandlerFactory->create('db') #13 /home/mercadiacity/public_html/vendor/magento/framework/Session/SaveHandler.php(63): Magento\Framework\Session\SaveHandler->callSafely('open', '/var/cpanel/php...', 'PHPSESSID') #14 [internal function]: Magento\Framework\Session\SaveHandler->open('/var/cpanel/php...', 'PHPSESSID') #15 /home/mercadiacity/public_html/vendor/magento/framework/Session/SessionManager.php(204): session_start() #16 /home/mercadiacity/public_html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\Session\SessionManager->start() #17 /home/mercadiacity/public_html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\Session\Generic\Interceptor->___callParent('start', Array) #18 /home/mercadiacity/public_html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\Session\Generic\Interceptor->Magento\Framework\Interception\{closure}() #19 /home/mercadiacity/public_html/generated/code/Magento/Framework/Session/Generic/Interceptor.php(26): Magento\Framework\Session\Generic\Interceptor->___callPlugins('start', Array, Array) #20 /home/mercadiacity/public_html/vendor/magento/framework/Session/SessionManager.php(141): Magento\Framework\Session\Generic\Interceptor->start() #21 /home/mercadiacity/public_html/generated/code/Magento/Framework/Session/Generic/Interceptor.php(14): Magento\Framework\Session\SessionManager->__construct(Object(Magento\Framework\App\Request\Http), Object(Magento\Framework\Session\SidResolver\Proxy), Object(Magento\Framework\Session\Config), Object(Magento\Framework\Session\SaveHandler), Object(Magento\Framework\Session\Validator), Object(Magento\Framework\Session\Storage), Object(Magento\Framework\Stdlib\Cookie\PhpCookieManager), Object(Magento\Framework\Stdlib\Cookie\CookieMetadataFactory), Object(Magento\Framework\App\State\Interceptor), NULL) #22 /home/mercadiacity/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(121): Magento\Framework\Session\Generic\Interceptor->__construct(Object(Magento\Framework\App\Request\Http), Object(Magento\Framework\Session\SidResolver\Proxy), Object(Magento\Framework\Session\Config), Object(Magento\Framework\Session\SaveHandler), Object(Magento\Framework\Session\Validator), Object(Magento\Framework\Session\Storage), Object(Magento\Framework\Stdlib\Cookie\PhpCookieManager), Object(Magento\Framework\Stdlib\Cookie\CookieMetadataFactory), Object(Magento\Framework\App\State\Interceptor), NULL) #23 /home/mercadiacity/public_html/vendor/magento/framework/ObjectManager/Factory/Compiled.php(108): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject('Magento\\Framewo...', Array) #24 /home/mercadiacity/public_html/vendor/magento/framework/ObjectManager/Factory/Compiled.php(150): Magento\Framework\ObjectManager\Factory\Compiled->create('Magento\\Framewo...') #25 /home/mercadiacity/public_html/vendor/magento/framework/ObjectManager/Factory/Compiled.php(79): Magento\Framework\ObjectManager\Factory\Compiled->get('Magento\\Framewo...') #26 /home/mercadiacity/public_html/vendor/magento/framework/ObjectManager/Factory/Compiled.php(150): Magento\Framework\ObjectManager\Factory\Compiled->create('Magento\\Custome...') #27 /home/mercadiacity/public_html/vendor/magento/framework/ObjectManager/Factory/Compiled.php(79): Magento\Framework\ObjectManager\Factory\Compiled->get('Magento\\Custome...') #28 /home/mercadiacity/public_html/vendor/magento/framework/ObjectManager/Factory/Compiled.php(150): Magento\Framework\ObjectManager\Factory\Compiled->create('Magento\\Checkou...') #29 /home/mercadiacity/public_html/vendor/magento/framework/ObjectManager/Factory/Compiled.php(79): Magento\Framework\ObjectManager\Factory\Compiled->get('Magento\\Checkou...') #30 /home/mercadiacity/public_html/vendor/magento/framework/ObjectManager/Factory/Compiled.php(150): Magento\Framework\ObjectManager\Factory\Compiled->create('Magento\\Persist...') #31 /home/mercadiacity/public_html/vendor/magento/framework/ObjectManager/Factory/Compiled.php(79): Magento\Framework\ObjectManager\Factory\Compiled->get('Magento\\Persist...') #32 /home/mercadiacity/public_html/vendor/magento/framework/ObjectManager/ObjectManager.php(70): Magento\Framework\ObjectManager\Factory\Compiled->create('Magento\\Persist...') #33 /home/mercadiacity/public_html/vendor/magento/framework/Interception/PluginList/PluginList.php(250): Magento\Framework\ObjectManager\ObjectManager->get('Magento\\Persist...') #34 /home/mercadiacity/public_html/vendor/magento/framework/Interception/Interceptor.php(119): Magento\Framework\Interception\PluginList\PluginList->getPlugin('Magento\\Framewo...', 'persistent_page...') #35 /home/mercadiacity/public_html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Http\Context\Interceptor->Magento\Framework\Interception\{closure}() #36 /home/mercadiacity/public_html/generated/code/Magento/Framework/App/Http/Context/Interceptor.php(78): Magento\Framework\App\Http\Context\Interceptor->___callPlugins('getVaryString', Array, Array) #37 /home/mercadiacity/public_html/vendor/magento/framework/App/Response/Http.php(108): Magento\Framework\App\Http\Context\Interceptor->getVaryString() #38 /home/mercadiacity/public_html/generated/code/Magento/Framework/App/Response/Http/Interceptor.php(37): Magento\Framework\App\Response\Http->sendVary() #39 /home/mercadiacity/public_html/vendor/magento/module-page-cache/Model/App/Response/HttpPlugin.php(29): Magento\Framework\App\Response\Http\Interceptor->sendVary() #40 /home/mercadiacity/public_html/vendor/magento/framework/Interception/Interceptor.php(121): Magento\PageCache\Model\App\Response\HttpPlugin->beforeSendResponse(Object(Magento\Framework\App\Response\Http\Interceptor)) #41 /home/mercadiacity/public_html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Response\Http\Interceptor->Magento\Framework\Interception\{closure}() #42 /home/mercadiacity/public_html/generated/code/Magento/Framework/App/Response/Http/Interceptor.php(117): Magento\Framework\App\Response\Http\Interceptor->___callPlugins('sendResponse', Array, Array) #43 /home/mercadiacity/public_html/vendor/magento/framework/App/ExceptionHandler.php(103): Magento\Framework\App\Response\Http\Interceptor->sendResponse() #44 /home/mercadiacity/public_html/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)) #45 /home/mercadiacity/public_html/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)) #46 /home/mercadiacity/public_html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\Http->catchException(Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Adapter_Exception)) #47 /home/mercadiacity/public_html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\App\Http\Interceptor->___callParent('catchException', Array) #48 /home/mercadiacity/public_html/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)) #49 /home/mercadiacity/public_html/generated/code/Magento/Framework/App/Http/Interceptor.php(39): Magento\Framework\App\Http\Interceptor->___callPlugins('catchException', Array, Array) #50 /home/mercadiacity/public_html/vendor/magento/framework/App/Bootstrap.php(269): Magento\Framework\App\Http\Interceptor->catchException(Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Adapter_Exception)) #51 /home/mercadiacity/public_html/mg/index.php(36): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http\Interceptor)) #52 {main} Next Zend_Db_Adapter_Exception: SQLSTATE[HY000] [2002] Connection refused in /home/mercadiacity/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php:144 Stack trace: #0 /home/mercadiacity/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Mysql.php(111): Zend_Db_Adapter_Pdo_Abstract->_connect() #1 /home/mercadiacity/public_html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(422): Zend_Db_Adapter_Pdo_Mysql->_connect() #2 /home/mercadiacity/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(861): Magento\Framework\DB\Adapter\Pdo\Mysql->_connect() #3 /home/mercadiacity/public_html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(1197): Zend_Db_Adapter_Abstract->quote('session') #4 /home/mercadiacity/public_html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(2660): Magento\Framework\DB\Adapter\Pdo\Mysql->showTableStatus('session', NULL) #5 /home/mercadiacity/public_html/vendor/magento/framework/Session/SaveHandler/DbTable.php(56): Magento\Framework\DB\Adapter\Pdo\Mysql->isTableExists('session') #6 /home/mercadiacity/public_html/vendor/magento/framework/Session/SaveHandler/DbTable.php(40): Magento\Framework\Session\SaveHandler\DbTable->checkConnection() #7 /home/mercadiacity/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(121): Magento\Framework\Session\SaveHandler\DbTable->__construct(Object(Magento\Framework\App\ResourceConnection\Interceptor)) #8 /home/mercadiacity/public_html/vendor/magento/framework/ObjectManager/Factory/Compiled.php(108): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject('Magento\\Framewo...', Array) #9 /home/mercadiacity/public_html/vendor/magento/framework/ObjectManager/ObjectManager.php(56): Magento\Framework\ObjectManager\Factory\Compiled->create('Magento\\Framewo...', Array) #10 /home/mercadiacity/public_html/vendor/magento/framework/Session/SaveHandlerFactory.php(61): Magento\Framework\ObjectManager\ObjectManager->create('Magento\\Framewo...', Array) #11 /home/mercadiacity/public_html/vendor/magento/framework/Session/SaveHandler.php(137): Magento\Framework\Session\SaveHandlerFactory->create('db') #12 /home/mercadiacity/public_html/vendor/magento/framework/Session/SaveHandler.php(63): Magento\Framework\Session\SaveHandler->callSafely('open', '/var/cpanel/php...', 'PHPSESSID') #13 [internal function]: Magento\Framework\Session\SaveHandler->open('/var/cpanel/php...', 'PHPSESSID') #14 /home/mercadiacity/public_html/vendor/magento/framework/Session/SessionManager.php(204): session_start() #15 /home/mercadiacity/public_html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\Session\SessionManager->start() #16 /home/mercadiacity/public_html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\Session\Generic\Interceptor->___callParent('start', Array) #17 /home/mercadiacity/public_html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\Session\Generic\Interceptor->Magento\Framework\Interception\{closure}() #18 /home/mercadiacity/public_html/generated/code/Magento/Framework/Session/Generic/Interceptor.php(26): Magento\Framework\Session\Generic\Interceptor->___callPlugins('start', Array, Array) #19 /home/mercadiacity/public_html/vendor/magento/framework/Session/SessionManager.php(141): Magento\Framework\Session\Generic\Interceptor->start() #20 /home/mercadiacity/public_html/generated/code/Magento/Framework/Session/Generic/Interceptor.php(14): Magento\Framework\Session\SessionManager->__construct(Object(Magento\Framework\App\Request\Http), Object(Magento\Framework\Session\SidResolver\Proxy), Object(Magento\Framework\Session\Config), Object(Magento\Framework\Session\SaveHandler), Object(Magento\Framework\Session\Validator), Object(Magento\Framework\Session\Storage), Object(Magento\Framework\Stdlib\Cookie\PhpCookieManager), Object(Magento\Framework\Stdlib\Cookie\CookieMetadataFactory), Object(Magento\Framework\App\State\Interceptor), NULL) #21 /home/mercadiacity/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(121): Magento\Framework\Session\Generic\Interceptor->__construct(Object(Magento\Framework\App\Request\Http), Object(Magento\Framework\Session\SidResolver\Proxy), Object(Magento\Framework\Session\Config), Object(Magento\Framework\Session\SaveHandler), Object(Magento\Framework\Session\Validator), Object(Magento\Framework\Session\Storage), Object(Magento\Framework\Stdlib\Cookie\PhpCookieManager), Object(Magento\Framework\Stdlib\Cookie\CookieMetadataFactory), Object(Magento\Framework\App\State\Interceptor), NULL) #22 /home/mercadiacity/public_html/vendor/magento/framework/ObjectManager/Factory/Compiled.php(108): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject('Magento\\Framewo...', Array) #23 /home/mercadiacity/public_html/vendor/magento/framework/ObjectManager/Factory/Compiled.php(150): Magento\Framework\ObjectManager\Factory\Compiled->create('Magento\\Framewo...') #24 /home/mercadiacity/public_html/vendor/magento/framework/ObjectManager/Factory/Compiled.php(79): Magento\Framework\ObjectManager\Factory\Compiled->get('Magento\\Framewo...') #25 /home/mercadiacity/public_html/vendor/magento/framework/ObjectManager/Factory/Compiled.php(150): Magento\Framework\ObjectManager\Factory\Compiled->create('Magento\\Custome...') #26 /home/mercadiacity/public_html/vendor/magento/framework/ObjectManager/Factory/Compiled.php(79): Magento\Framework\ObjectManager\Factory\Compiled->get('Magento\\Custome...') #27 /home/mercadiacity/public_html/vendor/magento/framework/ObjectManager/Factory/Compiled.php(150): Magento\Framework\ObjectManager\Factory\Compiled->create('Magento\\Checkou...') #28 /home/mercadiacity/public_html/vendor/magento/framework/ObjectManager/Factory/Compiled.php(79): Magento\Framework\ObjectManager\Factory\Compiled->get('Magento\\Checkou...') #29 /home/mercadiacity/public_html/vendor/magento/framework/ObjectManager/Factory/Compiled.php(150): Magento\Framework\ObjectManager\Factory\Compiled->create('Magento\\Persist...') #30 /home/mercadiacity/public_html/vendor/magento/framework/ObjectManager/Factory/Compiled.php(79): Magento\Framework\ObjectManager\Factory\Compiled->get('Magento\\Persist...') #31 /home/mercadiacity/public_html/vendor/magento/framework/ObjectManager/ObjectManager.php(70): Magento\Framework\ObjectManager\Factory\Compiled->create('Magento\\Persist...') #32 /home/mercadiacity/public_html/vendor/magento/framework/Interception/PluginList/PluginList.php(250): Magento\Framework\ObjectManager\ObjectManager->get('Magento\\Persist...') #33 /home/mercadiacity/public_html/vendor/magento/framework/Interception/Interceptor.php(119): Magento\Framework\Interception\PluginList\PluginList->getPlugin('Magento\\Framewo...', 'persistent_page...') #34 /home/mercadiacity/public_html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Http\Context\Interceptor->Magento\Framework\Interception\{closure}() #35 /home/mercadiacity/public_html/generated/code/Magento/Framework/App/Http/Context/Interceptor.php(78): Magento\Framework\App\Http\Context\Interceptor->___callPlugins('getVaryString', Array, Array) #36 /home/mercadiacity/public_html/vendor/magento/framework/App/Response/Http.php(108): Magento\Framework\App\Http\Context\Interceptor->getVaryString() #37 /home/mercadiacity/public_html/generated/code/Magento/Framework/App/Response/Http/Interceptor.php(37): Magento\Framework\App\Response\Http->sendVary() #38 /home/mercadiacity/public_html/vendor/magento/module-page-cache/Model/App/Response/HttpPlugin.php(29): Magento\Framework\App\Response\Http\Interceptor->sendVary() #39 /home/mercadiacity/public_html/vendor/magento/framework/Interception/Interceptor.php(121): Magento\PageCache\Model\App\Response\HttpPlugin->beforeSendResponse(Object(Magento\Framework\App\Response\Http\Interceptor)) #40 /home/mercadiacity/public_html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Response\Http\Interceptor->Magento\Framework\Interception\{closure}() #41 /home/mercadiacity/public_html/generated/code/Magento/Framework/App/Response/Http/Interceptor.php(117): Magento\Framework\App\Response\Http\Interceptor->___callPlugins('sendResponse', Array, Array) #42 /home/mercadiacity/public_html/vendor/magento/framework/App/ExceptionHandler.php(103): Magento\Framework\App\Response\Http\Interceptor->sendResponse() #43 /home/mercadiacity/public_html/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)) #44 /home/mercadiacity/public_html/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)) #45 /home/mercadiacity/public_html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\Http->catchException(Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Adapter_Exception)) #46 /home/mercadiacity/public_html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\App\Http\Interceptor->___callParent('catchException', Array) #47 /home/mercadiacity/public_html/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)) #48 /home/mercadiacity/public_html/generated/code/Magento/Framework/App/Http/Interceptor.php(39): Magento\Framework\App\Http\Interceptor->___callPlugins('catchException', Array, Array) #49 /home/mercadiacity/public_html/vendor/magento/framework/App/Bootstrap.php(269): Magento\Framework\App\Http\Interceptor->catchException(Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Adapter_Exception)) #50 /home/mercadiacity/public_html/mg/index.php(36): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http\Interceptor)) #51 {main}