2.14.13.2. Configure database connection in Magento

Attention!

The connection will not work with the localhost host. The host address must be taken from the database connection credentials.

Connection details to the database in Magento are specified in the configuration file app/etc/local.xml in the lines:

<host><![CDATA[host]]></host>
<username><![CDATA[login]]></username>
<password><![CDATA[password]]></password>
<dbname><![CDATA[database]]></dbname>

Changes can be made using the file manager or any FTP client.

Content