Error establishing a database connection

Hi,

I have a problem with my website i have message error to my home page :

I consulted the previous subjects and i add the code: ```
define(‘WP_ALLOW_REPAIR’, true);

 in the wp-config.php page but it does not matter

I update the database in this page /wp-admin/maint/repair.php 

Someone has a solution to resolve this problem

Thank you

Website URL?

Sorry
http://boutiquebys.rf.gd/

3 Likes

Thank’s but all information about db_password, db_username, db_host are good but i still have the same error

Did you do this from the article I shared earlier ?
to be sure everything is fine

if you do that then we will have to wait for the admin

I inserted this code to my page wp-config.php

"// Enable WP_DEBUG mode
define( ‘WP_DEBUG’, true );

// Enable Debug logging to the /wp-content/debug.log file
define( ‘WP_DEBUG_LOG’, true );

// Disable display of errors and warnings
define( ‘WP_DEBUG_DISPLAY’, false );
@ini_set( ‘display_errors’, 0 );

// Use dev versions of core JS and CSS files (only needed if you are modifying these core files)
define( ‘SCRIPT_DEBUG’, true );"

when I reload I have access to the site but as soon as I go to another page it gives this message

now i have this error :

image

If this is a new installation then I recommend uninstalling wordpress and installing it manually from their website.

i Created the website on 2021-06-07 it’s new installation for you ?

@robertz meant that if you are willing to start over, reinstall it.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.