PDOException: SQLSTATE[HY000] [2002] No such file or directory in /home/magento/web/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php:128 Stack trace: #0 /home/magento/web/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php(128): PDO->__construct('mysql:host=loca...', 'root', 'Ip08X3chN6FHEus...', Array) #1 /home/magento/web/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Mysql.php(111): Zend_Db_Adapter_Pdo_Abstract->_connect() #2 /home/magento/web/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(410): Zend_Db_Adapter_Pdo_Mysql->_connect() #3 /home/magento/web/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(861): Magento\Framework\DB\Adapter\Pdo\Mysql->_connect() #4 /home/magento/web/generated/code/Magento/Framework/DB/Adapter/Pdo/Mysql/Interceptor.php(1636): Zend_Db_Adapter_Abstract->quote('', NULL) #5 /home/magento/web/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(931): Magento\Framework\DB\Adapter\Pdo\Mysql\Interceptor->quote('', NULL) #6 /home/magento/web/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(1489): Zend_Db_Adapter_Abstract->quoteInto('entity_id =?', '', NULL, NULL) #7 /home/magento/web/generated/code/Magento/Framework/DB/Adapter/Pdo/Mysql/Interceptor.php(362): Magento\Framework\DB\Adapter\Pdo\Mysql->quoteInto('entity_id =?', '', NULL, NULL) #8 /home/magento/web/vendor/magento/zendframework1/library/Zend/Db/Select.php(1031): Magento\Framework\DB\Adapter\Pdo\Mysql\Interceptor->quoteInto('entity_id =?', '', NULL) #9 /home/magento/web/vendor/magento/zendframework1/library/Zend/Db/Select.php(496): Zend_Db_Select->_where('entity_id =?', '', NULL, true) #10 /home/magento/web/vendor/magento/framework/DB/Select.php(120): Zend_Db_Select->where('entity_id =?', '', NULL) #11 /home/magento/web/vendor/magento/module-eav/Model/Entity/AbstractEntity.php(1087): Magento\Framework\DB\Select->where('entity_id =?', '') #12 /home/magento/web/vendor/magento/module-customer/Model/ResourceModel/Customer.php(238): Magento\Eav\Model\Entity\AbstractEntity->_getLoadRowSelect(Object(Magento\Customer\Model\Customer\Interceptor), NULL) #13 /home/magento/web/vendor/magento/module-eav/Model/Entity/AbstractEntity.php(989): Magento\Customer\Model\ResourceModel\Customer->_getLoadRowSelect(Object(Magento\Customer\Model\Customer\Interceptor), NULL) #14 /home/magento/web/generated/code/Magento/Customer/Model/ResourceModel/Customer/Interceptor.php(505): Magento\Eav\Model\Entity\AbstractEntity->load(Object(Magento\Customer\Model\Customer\Interceptor), NULL, NULL) #15 /home/magento/web/vendor/magento/framework/Model/AbstractModel.php(540): Magento\Customer\Model\ResourceModel\Customer\Interceptor->load(Object(Magento\Customer\Model\Customer\Interceptor), NULL, NULL) #16 /home/magento/web/generated/code/Magento/Customer/Model/Customer/Interceptor.php(1051): Magento\Framework\Model\AbstractModel->load(NULL, NULL) #17 /home/magento/web/vendor/magento/module-customer/Model/Session.php(307): Magento\Customer\Model\Customer\Interceptor->load(NULL) #18 /home/magento/web/generated/code/Magento/Customer/Model/Session/Interceptor.php(102): Magento\Customer\Model\Session->getCustomer() #19 /home/magento/web/app/code/MageWorx/CustomerPrices/Helper/Customer.php(86): Magento\Customer\Model\Session\Interceptor->getCustomer() #20 /home/magento/web/app/code/MageWorx/CustomerPrices/Model/CacheIdentifierModifier.php(45): MageWorx\CustomerPrices\Helper\Customer->getCurrentCustomerId() #21 /home/magento/web/app/code/MageWorx/CustomerPrices/Plugin/Cache/ChangeCacheIdentifierPlugin.php(37): MageWorx\CustomerPrices\Model\CacheIdentifierModifier->addCustomerIdToCacheIfNeeded(Array) #22 /home/magento/web/vendor/magento/framework/Interception/Interceptor.php(146): MageWorx\CustomerPrices\Plugin\Cache\ChangeCacheIdentifierPlugin->afterGetData(Object(Magento\Framework\App\Http\Context\Interceptor), Array) #23 /home/magento/web/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Http\Context\Interceptor->Magento\Framework\Interception\{closure}() #24 /home/magento/web/generated/code/Magento/Framework/App/Http/Context/Interceptor.php(65): Magento\Framework\App\Http\Context\Interceptor->___callPlugins('getData', Array, Array) #25 /home/magento/web/vendor/magento/framework/App/Http/Context.php(113): Magento\Framework\App\Http\Context\Interceptor->getData() #26 /home/magento/web/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\Http\Context->getVaryString() #27 /home/magento/web/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\App\Http\Context\Interceptor->___callParent('getVaryString', Array) #28 /home/magento/web/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Http\Context\Interceptor->Magento\Framework\Interception\{closure}() #29 /home/magento/web/generated/code/Magento/Framework/App/Http/Context/Interceptor.php(78): Magento\Framework\App\Http\Context\Interceptor->___callPlugins('getVaryString', Array, Array) #30 /home/magento/web/vendor/magento/framework/App/Response/Http.php(108): Magento\Framework\App\Http\Context\Interceptor->getVaryString() #31 /home/magento/web/generated/code/Magento/Framework/App/Response/Http/Interceptor.php(37): Magento\Framework\App\Response\Http->sendVary() #32 /home/magento/web/vendor/magento/module-page-cache/Model/App/Response/HttpPlugin.php(25): Magento\Framework\App\Response\Http\Interceptor->sendVary() #33 /home/magento/web/vendor/magento/framework/Interception/Interceptor.php(121): Magento\PageCache\Model\App\Response\HttpPlugin->beforeSendResponse(Object(Magento\Framework\App\Response\Http\Interceptor)) #34 /home/magento/web/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Response\Http\Interceptor->Magento\Framework\Interception\{closure}() #35 /home/magento/web/generated/code/Magento/Framework/App/Response/Http/Interceptor.php(117): Magento\Framework\App\Response\Http\Interceptor->___callPlugins('sendResponse', Array, Array) #36 /home/magento/web/vendor/magento/framework/App/ExceptionHandler.php(103): Magento\Framework\App\Response\Http\Interceptor->sendResponse() #37 /home/magento/web/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)) #38 /home/magento/web/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)) #39 /home/magento/web/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\Http->catchException(Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Adapter_Exception)) #40 /home/magento/web/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\App\Http\Interceptor->___callParent('catchException', Array) #41 /home/magento/web/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)) #42 /home/magento/web/generated/code/Magento/Framework/App/Http/Interceptor.php(39): Magento\Framework\App\Http\Interceptor->___callPlugins('catchException', Array, Array) #43 /home/magento/web/vendor/magento/framework/App/Bootstrap.php(267): Magento\Framework\App\Http\Interceptor->catchException(Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Adapter_Exception)) #44 /home/magento/web/index.php(41): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http\Interceptor)) #45 {main} Next Zend_Db_Adapter_Exception: SQLSTATE[HY000] [2002] No such file or directory in /home/magento/web/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php:144 Stack trace: #0 /home/magento/web/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Mysql.php(111): Zend_Db_Adapter_Pdo_Abstract->_connect() #1 /home/magento/web/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(410): Zend_Db_Adapter_Pdo_Mysql->_connect() #2 /home/magento/web/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(861): Magento\Framework\DB\Adapter\Pdo\Mysql->_connect() #3 /home/magento/web/generated/code/Magento/Framework/DB/Adapter/Pdo/Mysql/Interceptor.php(1636): Zend_Db_Adapter_Abstract->quote('', NULL) #4 /home/magento/web/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(931): Magento\Framework\DB\Adapter\Pdo\Mysql\Interceptor->quote('', NULL) #5 /home/magento/web/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(1489): Zend_Db_Adapter_Abstract->quoteInto('entity_id =?', '', NULL, NULL) #6 /home/magento/web/generated/code/Magento/Framework/DB/Adapter/Pdo/Mysql/Interceptor.php(362): Magento\Framework\DB\Adapter\Pdo\Mysql->quoteInto('entity_id =?', '', NULL, NULL) #7 /home/magento/web/vendor/magento/zendframework1/library/Zend/Db/Select.php(1031): Magento\Framework\DB\Adapter\Pdo\Mysql\Interceptor->quoteInto('entity_id =?', '', NULL) #8 /home/magento/web/vendor/magento/zendframework1/library/Zend/Db/Select.php(496): Zend_Db_Select->_where('entity_id =?', '', NULL, true) #9 /home/magento/web/vendor/magento/framework/DB/Select.php(120): Zend_Db_Select->where('entity_id =?', '', NULL) #10 /home/magento/web/vendor/magento/module-eav/Model/Entity/AbstractEntity.php(1087): Magento\Framework\DB\Select->where('entity_id =?', '') #11 /home/magento/web/vendor/magento/module-customer/Model/ResourceModel/Customer.php(238): Magento\Eav\Model\Entity\AbstractEntity->_getLoadRowSelect(Object(Magento\Customer\Model\Customer\Interceptor), NULL) #12 /home/magento/web/vendor/magento/module-eav/Model/Entity/AbstractEntity.php(989): Magento\Customer\Model\ResourceModel\Customer->_getLoadRowSelect(Object(Magento\Customer\Model\Customer\Interceptor), NULL) #13 /home/magento/web/generated/code/Magento/Customer/Model/ResourceModel/Customer/Interceptor.php(505): Magento\Eav\Model\Entity\AbstractEntity->load(Object(Magento\Customer\Model\Customer\Interceptor), NULL, NULL) #14 /home/magento/web/vendor/magento/framework/Model/AbstractModel.php(540): Magento\Customer\Model\ResourceModel\Customer\Interceptor->load(Object(Magento\Customer\Model\Customer\Interceptor), NULL, NULL) #15 /home/magento/web/generated/code/Magento/Customer/Model/Customer/Interceptor.php(1051): Magento\Framework\Model\AbstractModel->load(NULL, NULL) #16 /home/magento/web/vendor/magento/module-customer/Model/Session.php(307): Magento\Customer\Model\Customer\Interceptor->load(NULL) #17 /home/magento/web/generated/code/Magento/Customer/Model/Session/Interceptor.php(102): Magento\Customer\Model\Session->getCustomer() #18 /home/magento/web/app/code/MageWorx/CustomerPrices/Helper/Customer.php(86): Magento\Customer\Model\Session\Interceptor->getCustomer() #19 /home/magento/web/app/code/MageWorx/CustomerPrices/Model/CacheIdentifierModifier.php(45): MageWorx\CustomerPrices\Helper\Customer->getCurrentCustomerId() #20 /home/magento/web/app/code/MageWorx/CustomerPrices/Plugin/Cache/ChangeCacheIdentifierPlugin.php(37): MageWorx\CustomerPrices\Model\CacheIdentifierModifier->addCustomerIdToCacheIfNeeded(Array) #21 /home/magento/web/vendor/magento/framework/Interception/Interceptor.php(146): MageWorx\CustomerPrices\Plugin\Cache\ChangeCacheIdentifierPlugin->afterGetData(Object(Magento\Framework\App\Http\Context\Interceptor), Array) #22 /home/magento/web/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Http\Context\Interceptor->Magento\Framework\Interception\{closure}() #23 /home/magento/web/generated/code/Magento/Framework/App/Http/Context/Interceptor.php(65): Magento\Framework\App\Http\Context\Interceptor->___callPlugins('getData', Array, Array) #24 /home/magento/web/vendor/magento/framework/App/Http/Context.php(113): Magento\Framework\App\Http\Context\Interceptor->getData() #25 /home/magento/web/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\Http\Context->getVaryString() #26 /home/magento/web/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\App\Http\Context\Interceptor->___callParent('getVaryString', Array) #27 /home/magento/web/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Http\Context\Interceptor->Magento\Framework\Interception\{closure}() #28 /home/magento/web/generated/code/Magento/Framework/App/Http/Context/Interceptor.php(78): Magento\Framework\App\Http\Context\Interceptor->___callPlugins('getVaryString', Array, Array) #29 /home/magento/web/vendor/magento/framework/App/Response/Http.php(108): Magento\Framework\App\Http\Context\Interceptor->getVaryString() #30 /home/magento/web/generated/code/Magento/Framework/App/Response/Http/Interceptor.php(37): Magento\Framework\App\Response\Http->sendVary() #31 /home/magento/web/vendor/magento/module-page-cache/Model/App/Response/HttpPlugin.php(25): Magento\Framework\App\Response\Http\Interceptor->sendVary() #32 /home/magento/web/vendor/magento/framework/Interception/Interceptor.php(121): Magento\PageCache\Model\App\Response\HttpPlugin->beforeSendResponse(Object(Magento\Framework\App\Response\Http\Interceptor)) #33 /home/magento/web/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Response\Http\Interceptor->Magento\Framework\Interception\{closure}() #34 /home/magento/web/generated/code/Magento/Framework/App/Response/Http/Interceptor.php(117): Magento\Framework\App\Response\Http\Interceptor->___callPlugins('sendResponse', Array, Array) #35 /home/magento/web/vendor/magento/framework/App/ExceptionHandler.php(103): Magento\Framework\App\Response\Http\Interceptor->sendResponse() #36 /home/magento/web/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)) #37 /home/magento/web/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)) #38 /home/magento/web/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\Http->catchException(Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Adapter_Exception)) #39 /home/magento/web/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\App\Http\Interceptor->___callParent('catchException', Array) #40 /home/magento/web/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)) #41 /home/magento/web/generated/code/Magento/Framework/App/Http/Interceptor.php(39): Magento\Framework\App\Http\Interceptor->___callPlugins('catchException', Array, Array) #42 /home/magento/web/vendor/magento/framework/App/Bootstrap.php(267): Magento\Framework\App\Http\Interceptor->catchException(Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Adapter_Exception)) #43 /home/magento/web/index.php(41): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http\Interceptor)) #44 {main}