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

Outsourcing

Are you looking for freelancers in the Philippines? Get in touch.

Donations

If you like what I do, you can support this channel by buying me a coffee. I would be grateful for your contribution! Your donations will help me create more FREE online courses and learning materials for programmers and remote workers.

item