no

How to Fix Lost Connection Error in Mysql

I have this unusual error when I printed the error caught in Mage::run method. I've already setup my database connection settings in a...

I have this unusual error when I printed the error caught in Mage::run method.

I've already setup my database connection settings in app/etc/local.xml, but unfortunately I still have this error. What I found out was there is another configuration file for mysql app/etc/config.xml

So all I did was make sure that the value in the 2 database connection settings are the same.

Find these lines and replace there values:


<default_setup>
  <connection>
    <host><![CDATA[localhost]]></host>
    <username><![CDATA[username]]></username>
    <password><![CDATA[password]]></password>
    <dbname><![CDATA[database_name]]></dbname>
    <active>1</active>
  </connection>
</default_setup>

Related

rdbms 3731785950660185179

Post a Comment Default Comments

item