This message almost always appears because the database details in wp-config.php are wrong, for example after moving your website.
How to fix it
- In your control panel, choose Hosting and look at the database (MariaDB): it shows the host, the database, the username and the password (click Show).
- Open
wp-config.phpin the folderhttpdocs, with FileZilla or in Plesk under Files. - Enter the details from your control panel in the four lines below.
- Save the file and refresh your website.
The four lines in wp-config.php
DB_NAME: the name of the databaseDB_USER: the usernameDB_PASSWORD: the passwordDB_HOST:localhost
Are the details correct?
Then the database may be damaged. Add the line define( 'WP_ALLOW_REPAIR', true ); to wp-config.php, go to https://yourcompany.com/wp-admin/maint/repair.php and click Repair Database. Remove the line afterwards.
Still not working? Ask your question via Support and we will check that the database is running properly.
Last updated: 11 Nov 2026
