You always remember seeing a screen like Failed to establish a database connection on your site. This can happen for a variety of reasons, but users often don't know that their site is down. Also that page itself looks pretty ugly on its own. In this article, we will show you how to customize your WordPress database error page. We'll also show you how to set up a notification for every time your website goes down due to a database error.
Open a new file and save it as "db-error.php". Paste the following content inside that. Then upload the file to your /wp-content/ directory.
Error en la base de datos cuerpo relleno: 20px; fondo: rojo; color blanco; tamaño de fuente: 60px; Tienes problemas.
Source:CSS Tricks
If you want to receive notifications by email, please comment the mail line. To comment it out, you need to remove // before the mail function. Feel free to customize the landing page however you like. Use these 404 design inspirations as a start.