How do I update my web application database connection strings via File Manager or FTP? Print
Submit Cancel
Email this article

Close

You are here: Home > Website Support > MySQL

Use an FTP program such as FileZilla or CuteFTP or File Manager to retrieve the configuration file and edit your MySQL database connection strings.

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.
  4. Download this file to your local computer.
  5. Open the file in Notepad or a text editor of your choice and search for the information (hostname, database name, username and password) you wish to change.
  6. Replace all instances of the old information with the new details e.g. old passwords with new passwords.
  7. Save your changes.
  8. Upload the updated configuration file with your FTP program to replace the current one.

Edit connection strings via File Manager:

  1. Browse to konsoleH (http://myaccount.hetzner.co.za)
  2. Login with your Client number or email address and Management password.
  3. Select or search for the applicable domain name.
  4. Click ‘Manage Services’ from the left-hand menu
  5. Select ‘File Manager’ under ‘Services’
  6. Within File Manager select the configuration file and select ‘Edit’ from the right hand menu.
  7. Search for the information you wish to change, replace and click on ‘Save’.

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

Was this information helpful?

Yes No

Thank you for your feedback
We are delighted to find that our article resolved your query.

Thank you for your feedback
We will resolve your query as soon as possible.

Please take a few moments to comment on your unresolved query. Simply tell us what your problem is. We guarantee that we'll get back to you within two hours (during office hours) in response to your query.


  Partially resolved    Unresolved
Enter your query here:
Your name:
Your email address:
Contact number:
Customer number or domain name:
 
Preferred contact method: Email     Call me
Please enter the text in the picture below into the text box:
CAPTCHA Image:
ID Number:
 
  • Hosting for Beginners

    Step-by-step guide to hosting with Hetzner.

    VIEW NOW
  • Application Tutorials

    Use our installation guides to get up and running.

    VIEW NOW
  • Login Now

    Our award winning proprietary control panel empowers customers to manage their hosting environment.

    Take the Tour
  • Contact Us

    support@hetzner.co.za

    Phone: 0861-0861-08
    Fax: 0861 0861-09
    Contact Us