PDOException: SQLSTATE[HY000] [2002] No such file or directory in /home/cpcmcaca/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php:128 Stack trace: #0 /home/cpcmcaca/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php(128): PDO->__construct('mysql:host=loca...', 'cpcmcaca_cccm4a...', 'Ba93578088+DB', Array) #1 /home/cpcmcaca/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Mysql.php(111): Zend_Db_Adapter_Pdo_Abstract->_connect() #2 /home/cpcmcaca/public_html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(398): Zend_Db_Adapter_Pdo_Mysql->_connect() #3 /home/cpcmcaca/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(460): Magento\Framework\DB\Adapter\Pdo\Mysql->_connect() #4 /home/cpcmcaca/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT `store_w...', Array) #5 /home/cpcmcaca/public_html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(533): Zend_Db_Adapter_Pdo_Abstract->query('SELECT `store_w...', Array) #6 /home/cpcmcaca/public_html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(605): Magento\Framework\DB\Adapter\Pdo\Mysql->_query('SELECT `store_w...', Array) #7 /home/cpcmcaca/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(737): Magento\Framework\DB\Adapter\Pdo\Mysql->query(Object(Magento\Framework\DB\Select), Array) #8 /home/cpcmcaca/public_html/vendor/magento/module-store/App/Config/Source/RuntimeConfigSource.php(87): Zend_Db_Adapter_Abstract->fetchAll(Object(Magento\Framework\DB\Select)) #9 /home/cpcmcaca/public_html/vendor/magento/module-store/App/Config/Source/RuntimeConfigSource.php(57): Magento\Store\App\Config\Source\RuntimeConfigSource->getEntities('store_website', 'code') #10 /home/cpcmcaca/public_html/vendor/magento/framework/App/Config/ConfigSourceAggregated.php(40): Magento\Store\App\Config\Source\RuntimeConfigSource->get('') #11 /home/cpcmcaca/public_html/generated/code/Magento/Framework/App/Config/ConfigSourceAggregated/Proxy.php(95): Magento\Framework\App\Config\ConfigSourceAggregated->get('') #12 /home/cpcmcaca/public_html/vendor/magento/module-store/App/Config/Type/Scopes.php(63): Magento\Framework\App\Config\ConfigSourceAggregated\Proxy->get() #13 /home/cpcmcaca/public_html/vendor/magento/framework/App/Config.php(131): Magento\Store\App\Config\Type\Scopes->get('stores/1') #14 /home/cpcmcaca/public_html/vendor/magento/module-store/Model/StoreRepository.php(103): Magento\Framework\App\Config->get('scopes', 'stores/1', Array) #15 /home/cpcmcaca/public_html/vendor/magento/module-store/Model/StoreRepository.php(122): Magento\Store\Model\StoreRepository->getById('1') #16 /home/cpcmcaca/public_html/vendor/magento/module-store/Model/StoreResolver.php(171): Magento\Store\Model\StoreRepository->getActiveStoreById('1') #17 /home/cpcmcaca/public_html/vendor/magento/module-store/Model/StoreResolver.php(109): Magento\Store\Model\StoreResolver->getDefaultStoreById('1') #18 /home/cpcmcaca/public_html/vendor/magento/module-store/Model/StoreManager.php(157): Magento\Store\Model\StoreResolver->getCurrentStoreId() #19 /home/cpcmcaca/public_html/generated/code/Magento/Store/Model/StoreManagerInterface/Proxy.php(119): Magento\Store\Model\StoreManager->getStore(NULL) #20 /home/cpcmcaca/public_html/vendor/magento/module-store/Model/Resolver/Store.php(29): Magento\Store\Model\StoreManagerInterface\Proxy->getStore(NULL) #21 /home/cpcmcaca/public_html/vendor/magento/framework/App/Config/ScopeCodeResolver.php(49): Magento\Store\Model\Resolver\Store->getScope(NULL) #22 /home/cpcmcaca/public_html/vendor/magento/framework/App/Config.php(69): Magento\Framework\App\Config\ScopeCodeResolver->resolve('stores', NULL) #23 /home/cpcmcaca/public_html/vendor/magento/module-developer/Model/Logger/Handler/Debug.php(63): Magento\Framework\App\Config->getValue('dev/debug/debug...', 'stores') #24 /home/cpcmcaca/public_html/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(31): Magento\Developer\Model\Logger\Handler\Debug->isHandling(Array) #25 /home/cpcmcaca/public_html/vendor/monolog/monolog/src/Monolog/Logger.php(344): Monolog\Handler\AbstractProcessingHandler->handle(Array) #26 /home/cpcmcaca/public_html/vendor/magento/framework/Logger/Monolog.php(48): Monolog\Logger->addRecord(400, 'SQLSTATE[HY000]...', Array) #27 /home/cpcmcaca/public_html/vendor/monolog/monolog/src/Monolog/Logger.php(707): Magento\Framework\Logger\Monolog->addRecord(400, 'SQLSTATE[HY000]...', Array) #28 /home/cpcmcaca/public_html/vendor/magento/framework/App/Bootstrap.php(262): Monolog\Logger->error('SQLSTATE[HY000]...') #29 /home/cpcmcaca/public_html/index.php(39): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http\Interceptor)) #30 {main} Next Zend_Db_Adapter_Exception: SQLSTATE[HY000] [2002] No such file or directory in /home/cpcmcaca/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php:144 Stack trace: #0 /home/cpcmcaca/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Mysql.php(111): Zend_Db_Adapter_Pdo_Abstract->_connect() #1 /home/cpcmcaca/public_html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(398): Zend_Db_Adapter_Pdo_Mysql->_connect() #2 /home/cpcmcaca/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(460): Magento\Framework\DB\Adapter\Pdo\Mysql->_connect() #3 /home/cpcmcaca/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT `store_w...', Array) #4 /home/cpcmcaca/public_html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(533): Zend_Db_Adapter_Pdo_Abstract->query('SELECT `store_w...', Array) #5 /home/cpcmcaca/public_html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(605): Magento\Framework\DB\Adapter\Pdo\Mysql->_query('SELECT `store_w...', Array) #6 /home/cpcmcaca/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(737): Magento\Framework\DB\Adapter\Pdo\Mysql->query(Object(Magento\Framework\DB\Select), Array) #7 /home/cpcmcaca/public_html/vendor/magento/module-store/App/Config/Source/RuntimeConfigSource.php(87): Zend_Db_Adapter_Abstract->fetchAll(Object(Magento\Framework\DB\Select)) #8 /home/cpcmcaca/public_html/vendor/magento/module-store/App/Config/Source/RuntimeConfigSource.php(57): Magento\Store\App\Config\Source\RuntimeConfigSource->getEntities('store_website', 'code') #9 /home/cpcmcaca/public_html/vendor/magento/framework/App/Config/ConfigSourceAggregated.php(40): Magento\Store\App\Config\Source\RuntimeConfigSource->get('') #10 /home/cpcmcaca/public_html/generated/code/Magento/Framework/App/Config/ConfigSourceAggregated/Proxy.php(95): Magento\Framework\App\Config\ConfigSourceAggregated->get('') #11 /home/cpcmcaca/public_html/vendor/magento/module-store/App/Config/Type/Scopes.php(63): Magento\Framework\App\Config\ConfigSourceAggregated\Proxy->get() #12 /home/cpcmcaca/public_html/vendor/magento/framework/App/Config.php(131): Magento\Store\App\Config\Type\Scopes->get('stores/1') #13 /home/cpcmcaca/public_html/vendor/magento/module-store/Model/StoreRepository.php(103): Magento\Framework\App\Config->get('scopes', 'stores/1', Array) #14 /home/cpcmcaca/public_html/vendor/magento/module-store/Model/StoreRepository.php(122): Magento\Store\Model\StoreRepository->getById('1') #15 /home/cpcmcaca/public_html/vendor/magento/module-store/Model/StoreResolver.php(171): Magento\Store\Model\StoreRepository->getActiveStoreById('1') #16 /home/cpcmcaca/public_html/vendor/magento/module-store/Model/StoreResolver.php(109): Magento\Store\Model\StoreResolver->getDefaultStoreById('1') #17 /home/cpcmcaca/public_html/vendor/magento/module-store/Model/StoreManager.php(157): Magento\Store\Model\StoreResolver->getCurrentStoreId() #18 /home/cpcmcaca/public_html/generated/code/Magento/Store/Model/StoreManagerInterface/Proxy.php(119): Magento\Store\Model\StoreManager->getStore(NULL) #19 /home/cpcmcaca/public_html/vendor/magento/module-store/Model/Resolver/Store.php(29): Magento\Store\Model\StoreManagerInterface\Proxy->getStore(NULL) #20 /home/cpcmcaca/public_html/vendor/magento/framework/App/Config/ScopeCodeResolver.php(49): Magento\Store\Model\Resolver\Store->getScope(NULL) #21 /home/cpcmcaca/public_html/vendor/magento/framework/App/Config.php(69): Magento\Framework\App\Config\ScopeCodeResolver->resolve('stores', NULL) #22 /home/cpcmcaca/public_html/vendor/magento/module-developer/Model/Logger/Handler/Debug.php(63): Magento\Framework\App\Config->getValue('dev/debug/debug...', 'stores') #23 /home/cpcmcaca/public_html/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(31): Magento\Developer\Model\Logger\Handler\Debug->isHandling(Array) #24 /home/cpcmcaca/public_html/vendor/monolog/monolog/src/Monolog/Logger.php(344): Monolog\Handler\AbstractProcessingHandler->handle(Array) #25 /home/cpcmcaca/public_html/vendor/magento/framework/Logger/Monolog.php(48): Monolog\Logger->addRecord(400, 'SQLSTATE[HY000]...', Array) #26 /home/cpcmcaca/public_html/vendor/monolog/monolog/src/Monolog/Logger.php(707): Magento\Framework\Logger\Monolog->addRecord(400, 'SQLSTATE[HY000]...', Array) #27 /home/cpcmcaca/public_html/vendor/magento/framework/App/Bootstrap.php(262): Monolog\Logger->error('SQLSTATE[HY000]...') #28 /home/cpcmcaca/public_html/index.php(39): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http\Interceptor)) #29 {main}