The magento's database settings is stored in this file:
app/etc/local.xml
you would find something like this:
Just change according to your connection.
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.
If you need to get those database details back out again, this article explains how.
ReplyDeleteMagento get database connection parameters
Post a Comment