PDOException: SQLSTATE[HY000] [2002] Connection refused in /home/laptoppartscom/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php:128 Stack trace: #0 /home/laptoppartscom/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php(128): PDO->__construct('mysql:host=lapt...', 'laptoppa_arghrt...', 'Em^A=iBU$&C_', Array) #1 /home/laptoppartscom/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Mysql.php(111): Zend_Db_Adapter_Pdo_Abstract->_connect() #2 /home/laptoppartscom/public_html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(398): Zend_Db_Adapter_Pdo_Mysql->_connect() #3 /home/laptoppartscom/public_html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(545): Magento\Framework\DB\Adapter\Pdo\Mysql->_connect() #4 /home/laptoppartscom/public_html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(580): Magento\Framework\DB\Adapter\Pdo\Mysql->_query('SELECT `t`.* FR...', Array) #5 /home/laptoppartscom/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(756): Magento\Framework\DB\Adapter\Pdo\Mysql->query(Object(Magento\Framework\DB\Select), Array) #6 /home/laptoppartscom/public_html/vendor/magento/framework/EntityManager/Db/ReadRow.php(61): Zend_Db_Adapter_Abstract->fetchRow(Object(Magento\Framework\DB\Select)) #7 /home/laptoppartscom/public_html/vendor/magento/framework/EntityManager/Operation/Read/ReadMain.php(63): Magento\Framework\EntityManager\Db\ReadRow->execute('Mirasvit\\Search...', NULL) #8 /home/laptoppartscom/public_html/vendor/magento/framework/EntityManager/Operation/Read.php(108): Magento\Framework\EntityManager\Operation\Read\ReadMain->execute(Object(Mirasvit\SearchReport\Model\Log), NULL) #9 /home/laptoppartscom/public_html/vendor/magento/framework/EntityManager/EntityManager.php(70): Magento\Framework\EntityManager\Operation\Read->execute(Object(Mirasvit\SearchReport\Model\Log), NULL, Array) #10 /home/laptoppartscom/public_html/app/code/Mirasvit/SearchReport/Repository/LogRepository.php(60): Magento\Framework\EntityManager\EntityManager->load(Object(Mirasvit\SearchReport\Model\Log), NULL) #11 /home/laptoppartscom/public_html/app/code/Mirasvit/SearchReport/Service/LogService.php(74): Mirasvit\SearchReport\Repository\LogRepository->get(NULL) #12 /home/laptoppartscom/public_html/app/code/Mirasvit/SearchReport/Plugin/ResponsePlugin.php(96): Mirasvit\SearchReport\Service\LogService->logClick(NULL) #13 /home/laptoppartscom/public_html/vendor/magento/framework/Interception/Interceptor.php(121): Mirasvit\SearchReport\Plugin\ResponsePlugin->beforeSendResponse(Object(Magento\Framework\App\Response\Http\Interceptor)) #14 /home/laptoppartscom/public_html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Response\Http\Interceptor->Magento\Framework\Interception\{closure}() #15 /home/laptoppartscom/public_html/generated/code/Magento/Framework/App/Response/Http/Interceptor.php(117): Magento\Framework\App\Response\Http\Interceptor->___callPlugins('sendResponse', Array, Array) #16 /home/laptoppartscom/public_html/vendor/magento/framework/App/Http.php(185): Magento\Framework\App\Response\Http\Interceptor->sendResponse() #17 /home/laptoppartscom/public_html/vendor/magento/framework/App/Http.php(156): Magento\Framework\App\Http->handleDeveloperMode(Object(Magento\Framework\App\Bootstrap), Object(Exception)) #18 /home/laptoppartscom/public_html/vendor/magento/framework/App/Bootstrap.php(261): Magento\Framework\App\Http->catchException(Object(Magento\Framework\App\Bootstrap), Object(Exception)) #19 /home/laptoppartscom/public_html/index.php(39): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http)) #20 {main} Next Zend_Db_Adapter_Exception: SQLSTATE[HY000] [2002] Connection refused in /home/laptoppartscom/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php:144 Stack trace: #0 /home/laptoppartscom/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Mysql.php(111): Zend_Db_Adapter_Pdo_Abstract->_connect() #1 /home/laptoppartscom/public_html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(398): Zend_Db_Adapter_Pdo_Mysql->_connect() #2 /home/laptoppartscom/public_html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(545): Magento\Framework\DB\Adapter\Pdo\Mysql->_connect() #3 /home/laptoppartscom/public_html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(580): Magento\Framework\DB\Adapter\Pdo\Mysql->_query('SELECT `t`.* FR...', Array) #4 /home/laptoppartscom/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(756): Magento\Framework\DB\Adapter\Pdo\Mysql->query(Object(Magento\Framework\DB\Select), Array) #5 /home/laptoppartscom/public_html/vendor/magento/framework/EntityManager/Db/ReadRow.php(61): Zend_Db_Adapter_Abstract->fetchRow(Object(Magento\Framework\DB\Select)) #6 /home/laptoppartscom/public_html/vendor/magento/framework/EntityManager/Operation/Read/ReadMain.php(63): Magento\Framework\EntityManager\Db\ReadRow->execute('Mirasvit\\Search...', NULL) #7 /home/laptoppartscom/public_html/vendor/magento/framework/EntityManager/Operation/Read.php(108): Magento\Framework\EntityManager\Operation\Read\ReadMain->execute(Object(Mirasvit\SearchReport\Model\Log), NULL) #8 /home/laptoppartscom/public_html/vendor/magento/framework/EntityManager/EntityManager.php(70): Magento\Framework\EntityManager\Operation\Read->execute(Object(Mirasvit\SearchReport\Model\Log), NULL, Array) #9 /home/laptoppartscom/public_html/app/code/Mirasvit/SearchReport/Repository/LogRepository.php(60): Magento\Framework\EntityManager\EntityManager->load(Object(Mirasvit\SearchReport\Model\Log), NULL) #10 /home/laptoppartscom/public_html/app/code/Mirasvit/SearchReport/Service/LogService.php(74): Mirasvit\SearchReport\Repository\LogRepository->get(NULL) #11 /home/laptoppartscom/public_html/app/code/Mirasvit/SearchReport/Plugin/ResponsePlugin.php(96): Mirasvit\SearchReport\Service\LogService->logClick(NULL) #12 /home/laptoppartscom/public_html/vendor/magento/framework/Interception/Interceptor.php(121): Mirasvit\SearchReport\Plugin\ResponsePlugin->beforeSendResponse(Object(Magento\Framework\App\Response\Http\Interceptor)) #13 /home/laptoppartscom/public_html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Response\Http\Interceptor->Magento\Framework\Interception\{closure}() #14 /home/laptoppartscom/public_html/generated/code/Magento/Framework/App/Response/Http/Interceptor.php(117): Magento\Framework\App\Response\Http\Interceptor->___callPlugins('sendResponse', Array, Array) #15 /home/laptoppartscom/public_html/vendor/magento/framework/App/Http.php(185): Magento\Framework\App\Response\Http\Interceptor->sendResponse() #16 /home/laptoppartscom/public_html/vendor/magento/framework/App/Http.php(156): Magento\Framework\App\Http->handleDeveloperMode(Object(Magento\Framework\App\Bootstrap), Object(Exception)) #17 /home/laptoppartscom/public_html/vendor/magento/framework/App/Bootstrap.php(261): Magento\Framework\App\Http->catchException(Object(Magento\Framework\App\Bootstrap), Object(Exception)) #18 /home/laptoppartscom/public_html/index.php(39): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http)) #19 {main}