How to edit Magento database configuration file?

The editing Magento database configuration file is an important step when you install or change hosting (server) for a website. In case you need to reset your Magento data configurations find the exact file and then find its right location for change in the new server credentials.

At first, determine local.xml file in  /app/etc/ and locate it
<date><![CDATA[Tue, 10 Apr 2016 13:42:46 +0000]]></date>
<initStatements><![CDATA[SET NAMES utf8]]></initStatements>

Now, you can easily edit all subjects you need to configure to things running

  • 1-Host
  • 2-Username
  • 3-Password
  • 4-DBname

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *