PDOException: SQLSTATE[HY000] [2002] Connection refused in /var/www/html/extensions/Code_v1.2.0/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php:128 Stack trace: #0 /var/www/html/extensions/Code_v1.2.0/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php(128): PDO->__construct('mysql:host=127....', 'kemana', '59ba6f68dba7e84', Array) #1 /var/www/html/extensions/Code_v1.2.0/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Mysql.php(111): Zend_Db_Adapter_Pdo_Abstract->_connect() #2 /var/www/html/extensions/Code_v1.2.0/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(398): Zend_Db_Adapter_Pdo_Mysql->_connect() #3 /var/www/html/extensions/Code_v1.2.0/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(861): Magento\Framework\DB\Adapter\Pdo\Mysql->_connect() #4 /var/www/html/extensions/Code_v1.2.0/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(931): Zend_Db_Adapter_Abstract->quote('', NULL) #5 /var/www/html/extensions/Code_v1.2.0/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(1437): Zend_Db_Adapter_Abstract->quoteInto('log_id = ?', '', NULL, NULL) #6 /var/www/html/extensions/Code_v1.2.0/vendor/magento/zendframework1/library/Zend/Db/Select.php(1031): Magento\Framework\DB\Adapter\Pdo\Mysql->quoteInto('log_id = ?', '', NULL) #7 /var/www/html/extensions/Code_v1.2.0/vendor/magento/zendframework1/library/Zend/Db/Select.php(496): Zend_Db_Select->_where('log_id = ?', '', NULL, true) #8 /var/www/html/extensions/Code_v1.2.0/vendor/magento/framework/DB/Select.php(119): Zend_Db_Select->where('log_id = ?', '', NULL) #9 /var/www/html/extensions/Code_v1.2.0/vendor/magento/framework/EntityManager/Db/ReadRow.php(54): Magento\Framework\DB\Select->where('log_id = ?', '') #10 /var/www/html/extensions/Code_v1.2.0/vendor/magento/framework/EntityManager/Operation/Read/ReadMain.php(63): Magento\Framework\EntityManager\Db\ReadRow->execute('Mirasvit\\Search...', NULL) #11 /var/www/html/extensions/Code_v1.2.0/vendor/magento/framework/EntityManager/Operation/Read.php(108): Magento\Framework\EntityManager\Operation\Read\ReadMain->execute(Object(Mirasvit\SearchReport\Model\Log), NULL) #12 /var/www/html/extensions/Code_v1.2.0/vendor/magento/framework/EntityManager/EntityManager.php(70): Magento\Framework\EntityManager\Operation\Read->execute(Object(Mirasvit\SearchReport\Model\Log), NULL, Array) #13 /var/www/html/extensions/Code_v1.2.0/vendor/mirasvit/module-search-report/src/SearchReport/Repository/LogRepository.php(60): Magento\Framework\EntityManager\EntityManager->load(Object(Mirasvit\SearchReport\Model\Log), NULL) #14 /var/www/html/extensions/Code_v1.2.0/vendor/mirasvit/module-search-report/src/SearchReport/Service/LogService.php(74): Mirasvit\SearchReport\Repository\LogRepository->get(NULL) #15 /var/www/html/extensions/Code_v1.2.0/vendor/mirasvit/module-search-report/src/SearchReport/Plugin/ResponsePlugin.php(96): Mirasvit\SearchReport\Service\LogService->logClick(NULL) #16 /var/www/html/extensions/Code_v1.2.0/vendor/magento/framework/Interception/Interceptor.php(121): Mirasvit\SearchReport\Plugin\ResponsePlugin->beforeSendResponse(Object(Magento\Framework\App\Response\Http\Interceptor)) #17 /var/www/html/extensions/Code_v1.2.0/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Response\Http\Interceptor->Magento\Framework\Interception\{closure}() #18 /var/www/html/extensions/Code_v1.2.0/generated/code/Magento/Framework/App/Response/Http/Interceptor.php(117): Magento\Framework\App\Response\Http\Interceptor->___callPlugins('sendResponse', Array, Array) #19 /var/www/html/extensions/Code_v1.2.0/vendor/magento/framework/App/Http.php(185): Magento\Framework\App\Response\Http\Interceptor->sendResponse() #20 /var/www/html/extensions/Code_v1.2.0/vendor/magento/framework/App/Http.php(156): Magento\Framework\App\Http->handleDeveloperMode(Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Adapter_Exception)) #21 /var/www/html/extensions/Code_v1.2.0/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\Http->catchException(Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Adapter_Exception)) #22 /var/www/html/extensions/Code_v1.2.0/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\App\Http\Interceptor->___callParent('catchException', Array) #23 /var/www/html/extensions/Code_v1.2.0/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)) #24 /var/www/html/extensions/Code_v1.2.0/generated/code/Magento/Framework/App/Http/Interceptor.php(39): Magento\Framework\App\Http\Interceptor->___callPlugins('catchException', Array, Array) #25 /var/www/html/extensions/Code_v1.2.0/vendor/magento/framework/App/Bootstrap.php(261): Magento\Framework\App\Http\Interceptor->catchException(Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Adapter_Exception)) #26 /var/www/html/extensions/Code_v1.2.0/pub/index.php(37): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http\Interceptor)) #27 {main} Next Zend_Db_Adapter_Exception: SQLSTATE[HY000] [2002] Connection refused in /var/www/html/extensions/Code_v1.2.0/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php:144 Stack trace: #0 /var/www/html/extensions/Code_v1.2.0/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Mysql.php(111): Zend_Db_Adapter_Pdo_Abstract->_connect() #1 /var/www/html/extensions/Code_v1.2.0/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(398): Zend_Db_Adapter_Pdo_Mysql->_connect() #2 /var/www/html/extensions/Code_v1.2.0/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(861): Magento\Framework\DB\Adapter\Pdo\Mysql->_connect() #3 /var/www/html/extensions/Code_v1.2.0/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(931): Zend_Db_Adapter_Abstract->quote('', NULL) #4 /var/www/html/extensions/Code_v1.2.0/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(1437): Zend_Db_Adapter_Abstract->quoteInto('log_id = ?', '', NULL, NULL) #5 /var/www/html/extensions/Code_v1.2.0/vendor/magento/zendframework1/library/Zend/Db/Select.php(1031): Magento\Framework\DB\Adapter\Pdo\Mysql->quoteInto('log_id = ?', '', NULL) #6 /var/www/html/extensions/Code_v1.2.0/vendor/magento/zendframework1/library/Zend/Db/Select.php(496): Zend_Db_Select->_where('log_id = ?', '', NULL, true) #7 /var/www/html/extensions/Code_v1.2.0/vendor/magento/framework/DB/Select.php(119): Zend_Db_Select->where('log_id = ?', '', NULL) #8 /var/www/html/extensions/Code_v1.2.0/vendor/magento/framework/EntityManager/Db/ReadRow.php(54): Magento\Framework\DB\Select->where('log_id = ?', '') #9 /var/www/html/extensions/Code_v1.2.0/vendor/magento/framework/EntityManager/Operation/Read/ReadMain.php(63): Magento\Framework\EntityManager\Db\ReadRow->execute('Mirasvit\\Search...', NULL) #10 /var/www/html/extensions/Code_v1.2.0/vendor/magento/framework/EntityManager/Operation/Read.php(108): Magento\Framework\EntityManager\Operation\Read\ReadMain->execute(Object(Mirasvit\SearchReport\Model\Log), NULL) #11 /var/www/html/extensions/Code_v1.2.0/vendor/magento/framework/EntityManager/EntityManager.php(70): Magento\Framework\EntityManager\Operation\Read->execute(Object(Mirasvit\SearchReport\Model\Log), NULL, Array) #12 /var/www/html/extensions/Code_v1.2.0/vendor/mirasvit/module-search-report/src/SearchReport/Repository/LogRepository.php(60): Magento\Framework\EntityManager\EntityManager->load(Object(Mirasvit\SearchReport\Model\Log), NULL) #13 /var/www/html/extensions/Code_v1.2.0/vendor/mirasvit/module-search-report/src/SearchReport/Service/LogService.php(74): Mirasvit\SearchReport\Repository\LogRepository->get(NULL) #14 /var/www/html/extensions/Code_v1.2.0/vendor/mirasvit/module-search-report/src/SearchReport/Plugin/ResponsePlugin.php(96): Mirasvit\SearchReport\Service\LogService->logClick(NULL) #15 /var/www/html/extensions/Code_v1.2.0/vendor/magento/framework/Interception/Interceptor.php(121): Mirasvit\SearchReport\Plugin\ResponsePlugin->beforeSendResponse(Object(Magento\Framework\App\Response\Http\Interceptor)) #16 /var/www/html/extensions/Code_v1.2.0/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Response\Http\Interceptor->Magento\Framework\Interception\{closure}() #17 /var/www/html/extensions/Code_v1.2.0/generated/code/Magento/Framework/App/Response/Http/Interceptor.php(117): Magento\Framework\App\Response\Http\Interceptor->___callPlugins('sendResponse', Array, Array) #18 /var/www/html/extensions/Code_v1.2.0/vendor/magento/framework/App/Http.php(185): Magento\Framework\App\Response\Http\Interceptor->sendResponse() #19 /var/www/html/extensions/Code_v1.2.0/vendor/magento/framework/App/Http.php(156): Magento\Framework\App\Http->handleDeveloperMode(Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Adapter_Exception)) #20 /var/www/html/extensions/Code_v1.2.0/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\Http->catchException(Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Adapter_Exception)) #21 /var/www/html/extensions/Code_v1.2.0/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\App\Http\Interceptor->___callParent('catchException', Array) #22 /var/www/html/extensions/Code_v1.2.0/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)) #23 /var/www/html/extensions/Code_v1.2.0/generated/code/Magento/Framework/App/Http/Interceptor.php(39): Magento\Framework\App\Http\Interceptor->___callPlugins('catchException', Array, Array) #24 /var/www/html/extensions/Code_v1.2.0/vendor/magento/framework/App/Bootstrap.php(261): Magento\Framework\App\Http\Interceptor->catchException(Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Adapter_Exception)) #25 /var/www/html/extensions/Code_v1.2.0/pub/index.php(37): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http\Interceptor)) #26 {main}