Fantastic Support

Error establishing a database connection

If you get the error shown in the picture when opening your website in the browser, the access data of the MySQL database stored in the configuration file of your website is wrong. This error usually only occurs if a CMS such as WordPress or Joomla is used. In this manual you will learn how to correct this error again.

Step 1

First open your FTP client (e.g. FileZilla) and connect your FTP access data to your web hosting package.

Now search for the configuration file and open it with any text editor. In Filezilla you have to right-click on the file and select "View/Edit", this will open the text editor installed on the PC directly. Alternatively, the file can be downloaded locally to the PC and opened there with a text editor.

How do I find the configuration file?

Depending on the content management system used, the name of the configuration file varies and can be found in different places.

A list of the locations of the configuration file (starting from the main installation folder), the most frequently used content management systems can be found here:

WordPress – ../wp-config.php
Contao – ../system/config/localconfig.php
Joomla – ../configuration.php
Drupal – ../sites/default/settings.php
Conrete5 – ../config/site.php
Website Baker – ../config.php
Vanilla – ../conf/config.php
Typo3 – ../config.php
Prestashop – ../config/settings.inc.php
phpBB – ../config.php
Oxid E-Shop – ../config.inc.php
Shopware – ../config.php

Step 2

In the file opened in the text editor, enter the data of the newly created or changed database in the appropriate places. Make sure that the ' remain at the beginning and end and are not deleted.

Alternatively, you can also copy the currently stored password from the configuration file and store it in your customer area at checkdomain.de with the database used.

Example WordPress

Example Joomla

Example Concrete5

Step 3

After the data has been changed, save the file and click on the file in your FTP client. In the window that appears, confirm that you want to overwrite the file.

Your website is now immediately available again.

Was this article helpful?

Thank you very much for your review!

Thank you very much for your review!

You have already rated this item.

Thank you for your time.

Do you require assistance?

Support

Telephone support

Domains worldwide

Europe

  • .at
  • .ch
  • .de
  • .eu
  • .fr
  • .it
  • .nl
  • .uk
  • .es
  • .pl
  • .me
  • .li

Asia

  • .ae
  • .cn
  • .hk
  • .in
  • .io
  • .jp
  • .my
  • .la
  • .sg
  • .tw
  • .ps

Generic

  • .biz
  • .com
  • .info
  • .mobi
  • .net
  • .org
  • .travel
  • .xxx
  • .pro
  • .jobs
  • .name
  • .aero

New domain extensions

  • .online
  • .sale
  • .reise
  • .hotel
  • .xyz
  • .ruhr
  • .restaurant
  • .coupon
  • .video
  • .bayern
  • .berlin
  • .hamburg
  • .koeln
  • .london
  • .reisen
  • .saarland
  • .wien
  • .bio
  • .business
  • .events
  • .haus
  • .immo
  • .immobilien
  • .international
  • .versicherung

Companies that trust us

Other products you might be interested in

Webhosting
Concentrate fully on your project! Performance and security included.
Rankingoach
Optimize your Web site and achieve top rankings.
Website optimization
SSL Certificates
For your site, more safety protect yourself from hacker attacks.
Quickly protect