When you see the WordPress white screen of death error on your website, you should try to eliminate the error by trying these methods
Now we will know about the potential steps to fix error establishing a database connection in WordPress
The above steps will surely help you to fix the database connection failure issue. More assistance will be at the WordPress help desk.