How to update database connection strings via the xneelo Control Panel

The information in this article is related to the new xneelo Control Panel.
If you are still using konsoleH, refer to this article.

Use the File Manager in the xneelo Control Panel (recommended) or FTP program such as FileZilla or CuteFTP to retrieve the configuration file and edit your database configuration.

This is required when setting up a new database or when the database password has been updated. Using Option 1 (File Manager) is recommended as it makes edits directly on the server without the need to download, edit and then upload the configuration file via FTP.

Option 1: Edit connection strings via File Manager

  1. Log in to the xneelo Control Panel.
  2. Select a Product (i.e. Web Hosting) from the side menu.
  3. Select the domain name.
  4. Select File Manager under Hosting tools.
  5. Click on the 3 dots menu to the right of the configuration file:
    • For WordPress please edit wp-config.php
    • For Joomla please edit configuration.php
    • For Drupal please edit sites/default/settings.php
    • For Magento please edit app/etc/local.xml
  1. Select File Editor.
  2. Search for the information you wish to change and replace it by clicking and replacing the text, where:
    •  DB_NAME is the database name
    • DB_USER is the database login
    • DB_PASSWORD is the database password
    • DB_HOST is the database server name (note that the database does not live on the same server as the website)

  1. Click Save

Option 2: Edit connection strings via FTP program

  1. Make an FTP connection to your domain with your FTP program.
  2. Locate the public_html directory (In most programs you will be able to ‘double click’ to access this folder).
  3. Locate the applicable configuration file for your database eg. configuration.php.
    • For WordPress please edit wp-config.php
    • For Joomla please edit configuration.php
    • For Drupal please edit sites/default/settings.php
    • For Magento please edit app/etc/local.xml
  1. Download this file to your local computer.
  2. Open the file in Notepad or a text editor of your choice and search for the information (hostname, database name, username/login, and password) you wish to change.
  3. Replace all instances of the old information with the new details e.g. old passwords with new passwords.
  4. Save your changes.
  5. Upload the updated configuration file with your FTP program to replace the current one.

Should you be familiar with Telnet or SSH you may wish to access and edit the configuration files directly on the hosting server.