Setting up database connection in Magento


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

Credentials for connection to the database in Magento are specified in the configuration file app/etc/local.xml in lines:


Changes can be made using filemanager or any FTPclient.