Monday, November 23, 2015

How to change database or mysql connection settings for Magento?

Just browse this file - /app/etc/local.xml Here you see very similar to the following. Simply modify the connection settings and sav... thumbnail 1 summary
Magento local xml

Just browse this file -
/app/etc/local.xml

Here you see very similar to the following. Simply modify the connection settings and save.

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

Important: Only change the values within the CDATA brackets.

No comments

Post a Comment