PDOException: SQLSTATE[HY000] [2002] No such file or directory in /var/www/vhosts/centroferreteria.es/httpdocs/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php:128
Stack trace:
#0 /var/www/vhosts/centroferreteria.es/httpdocs/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php(128): PDO->__construct('mysql:host=loca...', 'centroferreteri...', 'Fernando@#01', Array)
#1 /var/www/vhosts/centroferreteria.es/httpdocs/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Mysql.php(111): Zend_Db_Adapter_Pdo_Abstract->_connect()
#2 /var/www/vhosts/centroferreteria.es/httpdocs/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(410): Zend_Db_Adapter_Pdo_Mysql->_connect()
#3 /var/www/vhosts/centroferreteria.es/httpdocs/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(460): Magento\Framework\DB\Adapter\Pdo\Mysql->_connect()
#4 /var/www/vhosts/centroferreteria.es/httpdocs/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT `main_ta...', Array)
#5 /var/www/vhosts/centroferreteria.es/httpdocs/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(546): Zend_Db_Adapter_Pdo_Abstract->query('SELECT `main_ta...', Array)
#6 /var/www/vhosts/centroferreteria.es/httpdocs/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(613): Magento\Framework\DB\Adapter\Pdo\Mysql->_query('SELECT `main_ta...', Array)
#7 /var/www/vhosts/centroferreteria.es/httpdocs/generated/code/Magento/Framework/DB/Adapter/Pdo/Mysql/Interceptor.php(128): Magento\Framework\DB\Adapter\Pdo\Mysql->query(Object(Magento\Framework\DB\Select), Array)
#8 /var/www/vhosts/centroferreteria.es/httpdocs/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(737): Magento\Framework\DB\Adapter\Pdo\Mysql\Interceptor->query(Object(Magento\Framework\DB\Select), Array)
#9 /var/www/vhosts/centroferreteria.es/httpdocs/generated/code/Magento/Framework/DB/Adapter/Pdo/Mysql/Interceptor.php(1558): Zend_Db_Adapter_Abstract->fetchAll(Object(Magento\Framework\DB\Select), Array, 2)
#10 /var/www/vhosts/centroferreteria.es/httpdocs/vendor/magento/framework/Data/Collection/Db/FetchStrategy/Query.php(21): Magento\Framework\DB\Adapter\Pdo\Mysql\Interceptor->fetchAll(Object(Magento\Framework\DB\Select), Array)
#11 /var/www/vhosts/centroferreteria.es/httpdocs/vendor/magento/framework/Data/Collection/AbstractDb.php(782): Magento\Framework\Data\Collection\Db\FetchStrategy\Query->fetchAll(Object(Magento\Framework\DB\Select), Array)
#12 /var/www/vhosts/centroferreteria.es/httpdocs/vendor/magento/framework/Data/Collection/AbstractDb.php(677): Magento\Framework\Data\Collection\AbstractDb->_fetchAll(Object(Magento\Framework\DB\Select))
#13 /var/www/vhosts/centroferreteria.es/httpdocs/vendor/magento/framework/Data/Collection/AbstractDb.php(580): Magento\Framework\Data\Collection\AbstractDb->getData()
#14 /var/www/vhosts/centroferreteria.es/httpdocs/vendor/magento/framework/Data/Collection/AbstractDb.php(565): Magento\Framework\Data\Collection\AbstractDb->loadWithFilter(false, false)
#15 /var/www/vhosts/centroferreteria.es/httpdocs/vendor/magento/framework/Data/Collection.php(838): Magento\Framework\Data\Collection\AbstractDb->load()
#16 /var/www/vhosts/centroferreteria.es/httpdocs/vendor/magento/module-config/App/Config/Source/RuntimeConfigSource.php(82): Magento\Framework\Data\Collection->getIterator()
#17 /var/www/vhosts/centroferreteria.es/httpdocs/vendor/magento/module-config/App/Config/Source/RuntimeConfigSource.php(62): Magento\Config\App\Config\Source\RuntimeConfigSource->loadConfig()
#18 /var/www/vhosts/centroferreteria.es/httpdocs/vendor/magento/framework/App/Config/ConfigSourceAggregated.php(40): Magento\Config\App\Config\Source\RuntimeConfigSource->get('')
#19 /var/www/vhosts/centroferreteria.es/httpdocs/vendor/magento/module-config/App/Config/Type/System/Reader.php(60): Magento\Framework\App\Config\ConfigSourceAggregated->get()
#20 /var/www/vhosts/centroferreteria.es/httpdocs/generated/code/Magento/Config/App/Config/Type/System/Reader/Proxy.php(95): Magento\Config\App\Config\Type\System\Reader->read()
#21 /var/www/vhosts/centroferreteria.es/httpdocs/vendor/magento/module-config/App/Config/Type/System.php(371): Magento\Config\App\Config\Type\System\Reader\Proxy->read()
#22 /var/www/vhosts/centroferreteria.es/httpdocs/vendor/magento/framework/Cache/LockGuardedCacheLoader.php(79): Magento\Config\App\Config\Type\System->readData()
#23 /var/www/vhosts/centroferreteria.es/httpdocs/vendor/magento/module-config/App/Config/Type/System.php(261): Magento\Framework\Cache\LockGuardedCacheLoader->lockedLoadData('SYSTEM_CONFIG', Object(Closure), Object(Closure), Object(Closure))
#24 /var/www/vhosts/centroferreteria.es/httpdocs/vendor/magento/module-config/App/Config/Type/System.php(195): Magento\Config\App\Config\Type\System->loadDefaultScopeData('default')
#25 /var/www/vhosts/centroferreteria.es/httpdocs/vendor/magento/module-config/App/Config/Type/System.php(169): Magento\Config\App\Config\Type\System->getWithParts('default/newreli...')
#26 /var/www/vhosts/centroferreteria.es/httpdocs/vendor/magento/framework/App/Config.php(132): Magento\Config\App\Config\Type\System->get('default/newreli...')
#27 /var/www/vhosts/centroferreteria.es/httpdocs/vendor/magento/framework/App/Config.php(80): Magento\Framework\App\Config->get('system', 'default/newreli...')
#28 /var/www/vhosts/centroferreteria.es/httpdocs/vendor/magento/framework/App/Config.php(93): Magento\Framework\App\Config->getValue('newrelicreporti...', 'default', NULL)
#29 /var/www/vhosts/centroferreteria.es/httpdocs/vendor/magento/module-new-relic-reporting/Model/Config.php(94): Magento\Framework\App\Config->isSetFlag('newrelicreporti...')
#30 /var/www/vhosts/centroferreteria.es/httpdocs/vendor/magento/module-new-relic-reporting/Plugin/HttpPlugin.php(49): Magento\NewRelicReporting\Model\Config->isNewRelicEnabled()
#31 /var/www/vhosts/centroferreteria.es/httpdocs/vendor/magento/framework/Interception/Interceptor.php(121): Magento\NewRelicReporting\Plugin\HttpPlugin->beforeCatchException(Object(Magento\Framework\App\Http\Interceptor), Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Adapter_Exception))
#32 /var/www/vhosts/centroferreteria.es/httpdocs/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))
#33 /var/www/vhosts/centroferreteria.es/httpdocs/generated/code/Magento/Framework/App/Http/Interceptor.php(39): Magento\Framework\App\Http\Interceptor->___callPlugins('catchException', Array, Array)
#34 /var/www/vhosts/centroferreteria.es/httpdocs/vendor/magento/framework/App/Bootstrap.php(267): Magento\Framework\App\Http\Interceptor->catchException(Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Adapter_Exception))
#35 /var/www/vhosts/centroferreteria.es/httpdocs/index.php(39): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http\Interceptor))
#36 {main}
Next Zend_Db_Adapter_Exception: SQLSTATE[HY000] [2002] No such file or directory in /var/www/vhosts/centroferreteria.es/httpdocs/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php:144
Stack trace:
#0 /var/www/vhosts/centroferreteria.es/httpdocs/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Mysql.php(111): Zend_Db_Adapter_Pdo_Abstract->_connect()
#1 /var/www/vhosts/centroferreteria.es/httpdocs/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(410): Zend_Db_Adapter_Pdo_Mysql->_connect()
#2 /var/www/vhosts/centroferreteria.es/httpdocs/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(460): Magento\Framework\DB\Adapter\Pdo\Mysql->_connect()
#3 /var/www/vhosts/centroferreteria.es/httpdocs/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT `main_ta...', Array)
#4 /var/www/vhosts/centroferreteria.es/httpdocs/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(546): Zend_Db_Adapter_Pdo_Abstract->query('SELECT `main_ta...', Array)
#5 /var/www/vhosts/centroferreteria.es/httpdocs/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(613): Magento\Framework\DB\Adapter\Pdo\Mysql->_query('SELECT `main_ta...', Array)
#6 /var/www/vhosts/centroferreteria.es/httpdocs/generated/code/Magento/Framework/DB/Adapter/Pdo/Mysql/Interceptor.php(128): Magento\Framework\DB\Adapter\Pdo\Mysql->query(Object(Magento\Framework\DB\Select), Array)
#7 /var/www/vhosts/centroferreteria.es/httpdocs/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(737): Magento\Framework\DB\Adapter\Pdo\Mysql\Interceptor->query(Object(Magento\Framework\DB\Select), Array)
#8 /var/www/vhosts/centroferreteria.es/httpdocs/generated/code/Magento/Framework/DB/Adapter/Pdo/Mysql/Interceptor.php(1558): Zend_Db_Adapter_Abstract->fetchAll(Object(Magento\Framework\DB\Select), Array, 2)
#9 /var/www/vhosts/centroferreteria.es/httpdocs/vendor/magento/framework/Data/Collection/Db/FetchStrategy/Query.php(21): Magento\Framework\DB\Adapter\Pdo\Mysql\Interceptor->fetchAll(Object(Magento\Framework\DB\Select), Array)
#10 /var/www/vhosts/centroferreteria.es/httpdocs/vendor/magento/framework/Data/Collection/AbstractDb.php(782): Magento\Framework\Data\Collection\Db\FetchStrategy\Query->fetchAll(Object(Magento\Framework\DB\Select), Array)
#11 /var/www/vhosts/centroferreteria.es/httpdocs/vendor/magento/framework/Data/Collection/AbstractDb.php(677): Magento\Framework\Data\Collection\AbstractDb->_fetchAll(Object(Magento\Framework\DB\Select))
#12 /var/www/vhosts/centroferreteria.es/httpdocs/vendor/magento/framework/Data/Collection/AbstractDb.php(580): Magento\Framework\Data\Collection\AbstractDb->getData()
#13 /var/www/vhosts/centroferreteria.es/httpdocs/vendor/magento/framework/Data/Collection/AbstractDb.php(565): Magento\Framework\Data\Collection\AbstractDb->loadWithFilter(false, false)
#14 /var/www/vhosts/centroferreteria.es/httpdocs/vendor/magento/framework/Data/Collection.php(838): Magento\Framework\Data\Collection\AbstractDb->load()
#15 /var/www/vhosts/centroferreteria.es/httpdocs/vendor/magento/module-config/App/Config/Source/RuntimeConfigSource.php(82): Magento\Framework\Data\Collection->getIterator()
#16 /var/www/vhosts/centroferreteria.es/httpdocs/vendor/magento/module-config/App/Config/Source/RuntimeConfigSource.php(62): Magento\Config\App\Config\Source\RuntimeConfigSource->loadConfig()
#17 /var/www/vhosts/centroferreteria.es/httpdocs/vendor/magento/framework/App/Config/ConfigSourceAggregated.php(40): Magento\Config\App\Config\Source\RuntimeConfigSource->get('')
#18 /var/www/vhosts/centroferreteria.es/httpdocs/vendor/magento/module-config/App/Config/Type/System/Reader.php(60): Magento\Framework\App\Config\ConfigSourceAggregated->get()
#19 /var/www/vhosts/centroferreteria.es/httpdocs/generated/code/Magento/Config/App/Config/Type/System/Reader/Proxy.php(95): Magento\Config\App\Config\Type\System\Reader->read()
#20 /var/www/vhosts/centroferreteria.es/httpdocs/vendor/magento/module-config/App/Config/Type/System.php(371): Magento\Config\App\Config\Type\System\Reader\Proxy->read()
#21 /var/www/vhosts/centroferreteria.es/httpdocs/vendor/magento/framework/Cache/LockGuardedCacheLoader.php(79): Magento\Config\App\Config\Type\System->readData()
#22 /var/www/vhosts/centroferreteria.es/httpdocs/vendor/magento/module-config/App/Config/Type/System.php(261): Magento\Framework\Cache\LockGuardedCacheLoader->lockedLoadData('SYSTEM_CONFIG', Object(Closure), Object(Closure), Object(Closure))
#23 /var/www/vhosts/centroferreteria.es/httpdocs/vendor/magento/module-config/App/Config/Type/System.php(195): Magento\Config\App\Config\Type\System->loadDefaultScopeData('default')
#24 /var/www/vhosts/centroferreteria.es/httpdocs/vendor/magento/module-config/App/Config/Type/System.php(169): Magento\Config\App\Config\Type\System->getWithParts('default/newreli...')
#25 /var/www/vhosts/centroferreteria.es/httpdocs/vendor/magento/framework/App/Config.php(132): Magento\Config\App\Config\Type\System->get('default/newreli...')
#26 /var/www/vhosts/centroferreteria.es/httpdocs/vendor/magento/framework/App/Config.php(80): Magento\Framework\App\Config->get('system', 'default/newreli...')
#27 /var/www/vhosts/centroferreteria.es/httpdocs/vendor/magento/framework/App/Config.php(93): Magento\Framework\App\Config->getValue('newrelicreporti...', 'default', NULL)
#28 /var/www/vhosts/centroferreteria.es/httpdocs/vendor/magento/module-new-relic-reporting/Model/Config.php(94): Magento\Framework\App\Config->isSetFlag('newrelicreporti...')
#29 /var/www/vhosts/centroferreteria.es/httpdocs/vendor/magento/module-new-relic-reporting/Plugin/HttpPlugin.php(49): Magento\NewRelicReporting\Model\Config->isNewRelicEnabled()
#30 /var/www/vhosts/centroferreteria.es/httpdocs/vendor/magento/framework/Interception/Interceptor.php(121): Magento\NewRelicReporting\Plugin\HttpPlugin->beforeCatchException(Object(Magento\Framework\App\Http\Interceptor), Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Adapter_Exception))
#31 /var/www/vhosts/centroferreteria.es/httpdocs/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))
#32 /var/www/vhosts/centroferreteria.es/httpdocs/generated/code/Magento/Framework/App/Http/Interceptor.php(39): Magento\Framework\App\Http\Interceptor->___callPlugins('catchException', Array, Array)
#33 /var/www/vhosts/centroferreteria.es/httpdocs/vendor/magento/framework/App/Bootstrap.php(267): Magento\Framework\App\Http\Interceptor->catchException(Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Adapter_Exception))
#34 /var/www/vhosts/centroferreteria.es/httpdocs/index.php(39): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http\Interceptor))
#35 {main}