no

How to Change the Database Setting in Magento

The magento's database settings is stored in this file: app/etc/local.xml you would find something like this: <default_setup&...

The magento's database settings is stored in this file:

app/etc/local.xml

you would find something like this:



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



Just change according to your connection.

Related

web-platform 9028682322035058380

Post a Comment Default Comments

1 comment

Marc said...

If you need to get those database details back out again, this article explains how.

Magento get database connection parameters

item