0

Site went down after last designer cleared cache.

snappaneldisplays dot com

There has been an error processing your request

The user in the local.xml file is not the one listed there.

Anyone know of how to fix this? or what caused this?

from the var/report

a:4:{i:0;s:98:"SQLSTATE[HY000] [1045] Access denied for user 'snappae_snapn'@'localhost' (using password: YES)";i:1;s:2913:"#0 /home/vegasdi1/public_html/snappaneldisplays.com/lib/Zend/Db/Adapter/Pdo/Mysql.php(109): Zend_Db_Adapter_Pdo_Abstract->_connect()
#1 /home/vegasdi1/public_html/snappaneldisplays.com/lib/Varien/Db/Adapter/Pdo/Mysql.php(320): Zend_Db_Adapter_Pdo_Mysql->_connect()
#2 /home/vegasdi1/public_html/snappaneldisplays.com/lib/Zend/Db/Adapter/Abstract.php(460): Varien_Db_Adapter_Pdo_Mysql->_connect()
#3 /home/vegasdi1/public_html/snappaneldisplays.com/lib/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SET NAMES utf8', Array)
#4 /home/vegasdi1/public_html/snappaneldisplays.com/lib/Varien/Db/Adapter/Pdo/Mysql.php(428): Zend_Db_Adapter_Pdo_Abstract->query('SET NAMES utf8', Array)
#5 /home/vegasdi1/public_html/snappaneldisplays.com/app/code/core/Mage/Core/Model/Resource.php(169): Varien_Db_Adapter_Pdo_Mysql->query('SET NAMES utf8')
#6 /home/vegasdi1/public_html/snappaneldisplays.com/app/code/core/Mage/Core/Model/Resource.php(110): Mage_Core_Model_Resource->_newConnection('pdo_mysql', Object(Mage_Core_Model_Config_Element))
#7 /home/vegasdi1/public_html/snappaneldisplays.com/app/code/core/Mage/Core/Model/Resource/Db/Abstract.php(320): Mage_Core_Model_Resource->getConnection('core_write')
#8 /home/vegasdi1/public_html/snappaneldisplays.com/app/code/core/Mage/Core/Model/Resource/Db/Abstract.php(350): Mage_Core_Model_Resource_Db_Abstract->_getConnection('write')
#9 /home/vegasdi1/public_html/snappaneldisplays.com/app/code/core/Mage/Core/Model/Resource/Db/Abstract.php(335): Mage_Core_Model_Resource_Db_Abstract->_getWriteAdapter()
#10 /home/vegasdi1/public_html/snappaneldisplays.com/app/code/core/Mage/Core/Model/Resource/Cache.php(53): Mage_Core_Model_Resource_Db_Abstract->_getReadAdapter()
#11 /home/vegasdi1/public_html/snappaneldisplays.com/app/code/core/Mage/Core/Model/Cache.php(478): Mage_Core_Model_Resource_Cache->getAllOptions()
#12 /home/vegasdi1/public_html/snappaneldisplays.com/app/code/core/Mage/Core/Model/Cache.php(520): Mage_Core_Model_Cache->_initOptions()
#13 /home/vegasdi1/public_html/snappaneldisplays.com/app/code/core/Mage/Core/Model/App.php(1183): Mage_Core_Model_Cache->canUse('config')
#14 /home/vegasdi1/public_html/snappaneldisplays.com/app/code/core/Mage/Core/Model/Config.php(414): Mage_Core_Model_App->useCache('config')
#15 /home/vegasdi1/public_html/snappaneldisplays.com/app/code/core/Mage/Core/Model/Config.php(294): Mage_Core_Model_Config->_canUseCacheForInit()
#16 /home/vegasdi1/public_html/snappaneldisplays.com/app/code/core/Mage/Core/Model/App.php(413): Mage_Core_Model_Config->loadModulesCache()
#17 /home/vegasdi1/public_html/snappaneldisplays.com/app/code/core/Mage/Core/Model/App.php(343): Mage_Core_Model_App->_initModules()
#18 /home/vegasdi1/public_html/snappaneldisplays.com/app/Mage.php(684): Mage_Core_Model_App->run(Array)
#19 /home/vegasdi1/public_html/snappaneldisplays.com/index.php(87): Mage::run('', 'store')
#20 {main}";s:3:"url";s:1:"/";s:11:"script_name";s:10:"/index.php";}

3
  • Check your database connection in app/etc/local.xml. Mar 1 '16 at 4:48
  • did you checked db credentials? Mar 1 '16 at 5:00
  • changed the passwords of the main user and cleared cache folder neither worked. Mar 1 '16 at 5:32
1

Your local.xml file has incorrect credentials for MySQL username, password, or the database. 100% guaranteed. Either correct the local.xml file in app/etc or create/reset the credentials in MySQL. If the user exists in MySQL and you reset the password, make sure you gave the user enough privileges.

Check this link.

9
  • unfortunately I tried that earlier, it didn't fix the issue. The designer said that he was editing it fine until he cleared the cache. Mar 1 '16 at 4:38
  • Try to clear all the files out of /path/to/magento/var/cache/*, as Magento caches the contents of local.xml there. Also did you move the website from another server or any thing along with this? Mar 1 '16 at 4:48
  • No we didn't move it. it was working we are about to start making a few changes and cleared the cache and this happened. It was running fine previously. Mar 1 '16 at 5:31
  • the users in the cpanel have all privileges for that database. Mar 1 '16 at 5:40
  • Did it work or not? If not could you check the database server and the database it self. Also try to uncomment and comment these lines in the index.php >#if (isset($_SERVER['MAGE_IS_DEVELOPER_MODE'])) { > Mage::setIsDeveloperMode(true); >#} >//Mage::setIsDeveloperMode(true); >ini_set('display_errors', 1); Mar 1 '16 at 6:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.