PDOException: SQLSTATE[HY000] [2002] No such file or directory in /var/www/html/demo16.mageindia.co.in/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php:128 Stack trace: #0 /var/www/html/demo16.mageindia.co.in/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php(128): PDO->__construct('mysql:host=loca...', 'demo16', 'ebQ@VUy46sWcoTi...', Array) #1 /var/www/html/demo16.mageindia.co.in/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Mysql.php(111): Zend_Db_Adapter_Pdo_Abstract->_connect() #2 /var/www/html/demo16.mageindia.co.in/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(410): Zend_Db_Adapter_Pdo_Mysql->_connect() #3 /var/www/html/demo16.mageindia.co.in/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(575): Magento\Framework\DB\Adapter\Pdo\Mysql->_connect() #4 /var/www/html/demo16.mageindia.co.in/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(613): Magento\Framework\DB\Adapter\Pdo\Mysql->_query('SELECT `t`.* FR...', Array) #5 /var/www/html/demo16.mageindia.co.in/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(756): Magento\Framework\DB\Adapter\Pdo\Mysql->query(Object(Magento\Framework\DB\Select), Array) #6 /var/www/html/demo16.mageindia.co.in/vendor/magento/framework/EntityManager/Db/ReadRow.php(61): Zend_Db_Adapter_Abstract->fetchRow(Object(Magento\Framework\DB\Select)) #7 /var/www/html/demo16.mageindia.co.in/vendor/magento/framework/EntityManager/Operation/Read/ReadMain.php(63): Magento\Framework\EntityManager\Db\ReadRow->execute('Mirasvit\\Search...', NULL) #8 /var/www/html/demo16.mageindia.co.in/vendor/magento/framework/EntityManager/Operation/Read.php(108): Magento\Framework\EntityManager\Operation\Read\ReadMain->execute(Object(Mirasvit\SearchReport\Model\Log), NULL) #9 /var/www/html/demo16.mageindia.co.in/vendor/magento/framework/EntityManager/EntityManager.php(70): Magento\Framework\EntityManager\Operation\Read->execute(Object(Mirasvit\SearchReport\Model\Log), NULL, Array) #10 /var/www/html/demo16.mageindia.co.in/app/code/Mirasvit/SearchReport/Repository/LogRepository.php(65): Magento\Framework\EntityManager\EntityManager->load(Object(Mirasvit\SearchReport\Model\Log), NULL) #11 /var/www/html/demo16.mageindia.co.in/app/code/Mirasvit/SearchReport/Service/LogService.php(81): Mirasvit\SearchReport\Repository\LogRepository->get(NULL) #12 /var/www/html/demo16.mageindia.co.in/app/code/Mirasvit/SearchReport/Plugin/ResponsePlugin.php(105): Mirasvit\SearchReport\Service\LogService->logClick(NULL) #13 /var/www/html/demo16.mageindia.co.in/vendor/magento/framework/Interception/Interceptor.php(121): Mirasvit\SearchReport\Plugin\ResponsePlugin->beforeSendResponse(Object(Magento\Framework\App\Response\Http\Interceptor)) #14 /var/www/html/demo16.mageindia.co.in/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Response\Http\Interceptor->Magento\Framework\Interception\{closure}() #15 /var/www/html/demo16.mageindia.co.in/generated/code/Magento/Framework/App/Response/Http/Interceptor.php(26): Magento\Framework\App\Response\Http\Interceptor->___callPlugins('sendResponse', Array, Array) #16 /var/www/html/demo16.mageindia.co.in/vendor/magento/framework/App/ExceptionHandler.php(103): Magento\Framework\App\Response\Http\Interceptor->sendResponse() #17 /var/www/html/demo16.mageindia.co.in/vendor/magento/framework/App/ExceptionHandler.php(70): Magento\Framework\App\ExceptionHandler->handleDeveloperMode(Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Statement_Exception), Object(Magento\Framework\App\Response\Http\Interceptor)) #18 /var/www/html/demo16.mageindia.co.in/vendor/magento/framework/App/Http.php(156): Magento\Framework\App\ExceptionHandler->handle(Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Statement_Exception), Object(Magento\Framework\App\Response\Http\Interceptor), Object(Magento\Framework\App\Request\Http)) #19 /var/www/html/demo16.mageindia.co.in/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\Http->catchException(Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Statement_Exception)) #20 /var/www/html/demo16.mageindia.co.in/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\App\Http\Interceptor->___callParent('catchException', Array) #21 /var/www/html/demo16.mageindia.co.in/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Http\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Statement_Exception)) #22 /var/www/html/demo16.mageindia.co.in/generated/code/Magento/Framework/App/Http/Interceptor.php(26): Magento\Framework\App\Http\Interceptor->___callPlugins('catchException', Array, Array) #23 /var/www/html/demo16.mageindia.co.in/vendor/magento/framework/App/Bootstrap.php(267): Magento\Framework\App\Http\Interceptor->catchException(Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Statement_Exception)) #24 /var/www/html/demo16.mageindia.co.in/pub/index.php(40): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http\Interceptor)) #25 {main} Next Zend_Db_Adapter_Exception: SQLSTATE[HY000] [2002] No such file or directory in /var/www/html/demo16.mageindia.co.in/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php:144 Stack trace: #0 /var/www/html/demo16.mageindia.co.in/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Mysql.php(111): Zend_Db_Adapter_Pdo_Abstract->_connect() #1 /var/www/html/demo16.mageindia.co.in/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(410): Zend_Db_Adapter_Pdo_Mysql->_connect() #2 /var/www/html/demo16.mageindia.co.in/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(575): Magento\Framework\DB\Adapter\Pdo\Mysql->_connect() #3 /var/www/html/demo16.mageindia.co.in/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(613): Magento\Framework\DB\Adapter\Pdo\Mysql->_query('SELECT `t`.* FR...', Array) #4 /var/www/html/demo16.mageindia.co.in/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(756): Magento\Framework\DB\Adapter\Pdo\Mysql->query(Object(Magento\Framework\DB\Select), Array) #5 /var/www/html/demo16.mageindia.co.in/vendor/magento/framework/EntityManager/Db/ReadRow.php(61): Zend_Db_Adapter_Abstract->fetchRow(Object(Magento\Framework\DB\Select)) #6 /var/www/html/demo16.mageindia.co.in/vendor/magento/framework/EntityManager/Operation/Read/ReadMain.php(63): Magento\Framework\EntityManager\Db\ReadRow->execute('Mirasvit\\Search...', NULL) #7 /var/www/html/demo16.mageindia.co.in/vendor/magento/framework/EntityManager/Operation/Read.php(108): Magento\Framework\EntityManager\Operation\Read\ReadMain->execute(Object(Mirasvit\SearchReport\Model\Log), NULL) #8 /var/www/html/demo16.mageindia.co.in/vendor/magento/framework/EntityManager/EntityManager.php(70): Magento\Framework\EntityManager\Operation\Read->execute(Object(Mirasvit\SearchReport\Model\Log), NULL, Array) #9 /var/www/html/demo16.mageindia.co.in/app/code/Mirasvit/SearchReport/Repository/LogRepository.php(65): Magento\Framework\EntityManager\EntityManager->load(Object(Mirasvit\SearchReport\Model\Log), NULL) #10 /var/www/html/demo16.mageindia.co.in/app/code/Mirasvit/SearchReport/Service/LogService.php(81): Mirasvit\SearchReport\Repository\LogRepository->get(NULL) #11 /var/www/html/demo16.mageindia.co.in/app/code/Mirasvit/SearchReport/Plugin/ResponsePlugin.php(105): Mirasvit\SearchReport\Service\LogService->logClick(NULL) #12 /var/www/html/demo16.mageindia.co.in/vendor/magento/framework/Interception/Interceptor.php(121): Mirasvit\SearchReport\Plugin\ResponsePlugin->beforeSendResponse(Object(Magento\Framework\App\Response\Http\Interceptor)) #13 /var/www/html/demo16.mageindia.co.in/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Response\Http\Interceptor->Magento\Framework\Interception\{closure}() #14 /var/www/html/demo16.mageindia.co.in/generated/code/Magento/Framework/App/Response/Http/Interceptor.php(26): Magento\Framework\App\Response\Http\Interceptor->___callPlugins('sendResponse', Array, Array) #15 /var/www/html/demo16.mageindia.co.in/vendor/magento/framework/App/ExceptionHandler.php(103): Magento\Framework\App\Response\Http\Interceptor->sendResponse() #16 /var/www/html/demo16.mageindia.co.in/vendor/magento/framework/App/ExceptionHandler.php(70): Magento\Framework\App\ExceptionHandler->handleDeveloperMode(Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Statement_Exception), Object(Magento\Framework\App\Response\Http\Interceptor)) #17 /var/www/html/demo16.mageindia.co.in/vendor/magento/framework/App/Http.php(156): Magento\Framework\App\ExceptionHandler->handle(Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Statement_Exception), Object(Magento\Framework\App\Response\Http\Interceptor), Object(Magento\Framework\App\Request\Http)) #18 /var/www/html/demo16.mageindia.co.in/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\Http->catchException(Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Statement_Exception)) #19 /var/www/html/demo16.mageindia.co.in/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\App\Http\Interceptor->___callParent('catchException', Array) #20 /var/www/html/demo16.mageindia.co.in/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Http\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Statement_Exception)) #21 /var/www/html/demo16.mageindia.co.in/generated/code/Magento/Framework/App/Http/Interceptor.php(26): Magento\Framework\App\Http\Interceptor->___callPlugins('catchException', Array, Array) #22 /var/www/html/demo16.mageindia.co.in/vendor/magento/framework/App/Bootstrap.php(267): Magento\Framework\App\Http\Interceptor->catchException(Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Statement_Exception)) #23 /var/www/html/demo16.mageindia.co.in/pub/index.php(40): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http\Interceptor)) #24 {main}