If you want to change the MySQL database connection details such as Hostname, Database name, username etc of a Magento Store, you need to edit the following file for that. If its in a web server, connect using a FTP software and download the file, edit it and upload back. /app/etc/local.xml <default_setup> <connection> <host><![CDATA[localhost]]></host> <username><![CDATA[magento]]></username> [...]