What should I check if WordPress says “Error establishing a database connection”?

Este contenido solo está disponible en rumano e inglés; a continuación se muestra el texto en inglés.

What should I check if WordPress says “Error establishing a database connection”?

This message means WordPress cannot connect to its database. Possible causes include incorrect settings, insufficient permissions or a temporary database service issue. Note when the error appeared and whether you recently changed the database password or made changes to the website.

Check the database name, username, password and server address in wp-config.php against the details in your hosting account or documentation. Confirm that the database user has access to the correct database. Do not share these details publicly or start repairs or restores without understanding their effects. If the settings are correct, send your provider the exact error and the time it occurred, without including passwords.

PREGUNTAS RELACIONADAS

Aquí tienes algunas preguntas cuyas respuestas te pueden interesar. Respondemos a preguntas importantes y prácticas para nuestros clientes.

SUSCRÍBETE A LA NEWSLETTER

Suscríbete a nuestra newsletter. Solo la usamos para información importante.

Ilustración de suscripción a la newsletter