PDOException: SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/peterw14/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php:128 Stack trace: #0 /home/peterw14/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php(128): PDO->__construct('mysql:host=loca...', 'peterw14_curtis...', 'C=K]n(Krw.@Q', Array) #1 /home/peterw14/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Mysql.php(111): Zend_Db_Adapter_Pdo_Abstract->_connect() #2 /home/peterw14/public_html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(353): Zend_Db_Adapter_Pdo_Mysql->_connect() #3 /home/peterw14/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(861): Magento\Framework\DB\Adapter\Pdo\Mysql->_connect() #4 /home/peterw14/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(931): Zend_Db_Adapter_Abstract->quote('', NULL) #5 /home/peterw14/public_html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(1377): Zend_Db_Adapter_Abstract->quoteInto('log_id = ?', '', NULL, NULL) #6 /home/peterw14/public_html/vendor/magento/zendframework1/library/Zend/Db/Select.php(1007): Magento\Framework\DB\Adapter\Pdo\Mysql->quoteInto('log_id = ?', '', NULL) #7 /home/peterw14/public_html/vendor/magento/zendframework1/library/Zend/Db/Select.php(477): Zend_Db_Select->_where('log_id = ?', '', NULL, true) #8 /home/peterw14/public_html/vendor/magento/framework/DB/Select.php(120): Zend_Db_Select->where('log_id = ?', '', NULL) #9 /home/peterw14/public_html/vendor/magento/framework/EntityManager/Db/ReadRow.php(55): Magento\Framework\DB\Select->where('log_id = ?', '') #10 /home/peterw14/public_html/vendor/magento/framework/EntityManager/Operation/Read/ReadMain.php(63): Magento\Framework\EntityManager\Db\ReadRow->execute('Mirasvit\\Search...', NULL) #11 /home/peterw14/public_html/vendor/magento/framework/EntityManager/Operation/Read.php(113): Magento\Framework\EntityManager\Operation\Read\ReadMain->execute(Object(Mirasvit\SearchReport\Model\Log), NULL) #12 /home/peterw14/public_html/vendor/magento/framework/EntityManager/EntityManager.php(61): Magento\Framework\EntityManager\Operation\Read->execute(Object(Mirasvit\SearchReport\Model\Log), NULL, Array) #13 /home/peterw14/public_html/vendor/mirasvit/module-search-report/src/SearchReport/Repository/LogRepository.php(60): Magento\Framework\EntityManager\EntityManager->load(Object(Mirasvit\SearchReport\Model\Log), NULL) #14 /home/peterw14/public_html/vendor/mirasvit/module-search-report/src/SearchReport/Service/LogService.php(74): Mirasvit\SearchReport\Repository\LogRepository->get(NULL) #15 /home/peterw14/public_html/vendor/mirasvit/module-search-report/src/SearchReport/Plugin/ResponsePlugin.php(96): Mirasvit\SearchReport\Service\LogService->logClick(NULL) #16 /home/peterw14/public_html/vendor/magento/framework/Interception/Interceptor.php(123): Mirasvit\SearchReport\Plugin\ResponsePlugin->beforeSendResponse(Object(Magento\Framework\App\Response\Http\Interceptor)) #17 /home/peterw14/public_html/var/generation/Magento/Framework/App/Response/Http/Interceptor.php(117): Magento\Framework\App\Response\Http\Interceptor->___callPlugins('sendResponse', Array, Array) #18 /home/peterw14/public_html/vendor/magento/framework/App/Http.php(185): Magento\Framework\App\Response\Http\Interceptor->sendResponse() #19 /home/peterw14/public_html/vendor/magento/framework/App/Http.php(156): Magento\Framework\App\Http->handleDeveloperMode(Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Adapter_Exception)) #20 /home/peterw14/public_html/vendor/magento/framework/App/Bootstrap.php(263): Magento\Framework\App\Http->catchException(Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Adapter_Exception)) #21 /home/peterw14/public_html/index.php(39): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http)) #22 {main} Next Zend_Db_Adapter_Exception: SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/peterw14/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php:144 Stack trace: #0 /home/peterw14/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Mysql.php(111): Zend_Db_Adapter_Pdo_Abstract->_connect() #1 /home/peterw14/public_html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(353): Zend_Db_Adapter_Pdo_Mysql->_connect() #2 /home/peterw14/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(861): Magento\Framework\DB\Adapter\Pdo\Mysql->_connect() #3 /home/peterw14/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(931): Zend_Db_Adapter_Abstract->quote('', NULL) #4 /home/peterw14/public_html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(1377): Zend_Db_Adapter_Abstract->quoteInto('log_id = ?', '', NULL, NULL) #5 /home/peterw14/public_html/vendor/magento/zendframework1/library/Zend/Db/Select.php(1007): Magento\Framework\DB\Adapter\Pdo\Mysql->quoteInto('log_id = ?', '', NULL) #6 /home/peterw14/public_html/vendor/magento/zendframework1/library/Zend/Db/Select.php(477): Zend_Db_Select->_where('log_id = ?', '', NULL, true) #7 /home/peterw14/public_html/vendor/magento/framework/DB/Select.php(120): Zend_Db_Select->where('log_id = ?', '', NULL) #8 /home/peterw14/public_html/vendor/magento/framework/EntityManager/Db/ReadRow.php(55): Magento\Framework\DB\Select->where('log_id = ?', '') #9 /home/peterw14/public_html/vendor/magento/framework/EntityManager/Operation/Read/ReadMain.php(63): Magento\Framework\EntityManager\Db\ReadRow->execute('Mirasvit\\Search...', NULL) #10 /home/peterw14/public_html/vendor/magento/framework/EntityManager/Operation/Read.php(113): Magento\Framework\EntityManager\Operation\Read\ReadMain->execute(Object(Mirasvit\SearchReport\Model\Log), NULL) #11 /home/peterw14/public_html/vendor/magento/framework/EntityManager/EntityManager.php(61): Magento\Framework\EntityManager\Operation\Read->execute(Object(Mirasvit\SearchReport\Model\Log), NULL, Array) #12 /home/peterw14/public_html/vendor/mirasvit/module-search-report/src/SearchReport/Repository/LogRepository.php(60): Magento\Framework\EntityManager\EntityManager->load(Object(Mirasvit\SearchReport\Model\Log), NULL) #13 /home/peterw14/public_html/vendor/mirasvit/module-search-report/src/SearchReport/Service/LogService.php(74): Mirasvit\SearchReport\Repository\LogRepository->get(NULL) #14 /home/peterw14/public_html/vendor/mirasvit/module-search-report/src/SearchReport/Plugin/ResponsePlugin.php(96): Mirasvit\SearchReport\Service\LogService->logClick(NULL) #15 /home/peterw14/public_html/vendor/magento/framework/Interception/Interceptor.php(123): Mirasvit\SearchReport\Plugin\ResponsePlugin->beforeSendResponse(Object(Magento\Framework\App\Response\Http\Interceptor)) #16 /home/peterw14/public_html/var/generation/Magento/Framework/App/Response/Http/Interceptor.php(117): Magento\Framework\App\Response\Http\Interceptor->___callPlugins('sendResponse', Array, Array) #17 /home/peterw14/public_html/vendor/magento/framework/App/Http.php(185): Magento\Framework\App\Response\Http\Interceptor->sendResponse() #18 /home/peterw14/public_html/vendor/magento/framework/App/Http.php(156): Magento\Framework\App\Http->handleDeveloperMode(Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Adapter_Exception)) #19 /home/peterw14/public_html/vendor/magento/framework/App/Bootstrap.php(263): Magento\Framework\App\Http->catchException(Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Adapter_Exception)) #20 /home/peterw14/public_html/index.php(39): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http)) #21 {main}