How to set your Magento SQL Connection Path

This item was filled under [ Tutorials ]

The easy way to set your MySQL path in Magento is by editing the /app/etc/local.xml file with your new details. A good example when you may need this is if your are migrating Magento across servers.

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

Rate this topic:
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...
Tagged with: [ , , ]
You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Comment