Cómo puedo arreglar este error?

La web está mañana me cargaba y después de unas horas de meter los DNS de Cloudflare no carga, da error al establecer una conexión con la base de datos en WordPress.
En mi hosting me han dicho que tengo que añadir la entrada DNS correspondiente a la base de datos, cómo hago esto?
Ayuda por favor!

The problem is most likely because WordPress is configured to reach the database through your domain name, which is now on Cloudflare. Cloudflare does not pass through database requests.

Your database is probably hosted on the same server, in which case your wp-config.php file should have “localhost” for the database server name.

1 Like

Now, i can’t access to wordpress.
Wp-admin, login, config, don’t work.

You need to use direct file access on your server. Some hosts have File Managers built in. Otherwise, you need to use some type of SFTP program to edit your wp-config.php file.

And when i’m at wp-config, what what do i have to change exactly? Database to elaine.clou…??

You should have something like this:

/** MySQL hostname */
define( ‘DB_HOST’, ‘localhost’ );

Right now, it probably has something like yourdomain.com instead of localhost.

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