WordPress: Fix Error Establishing a Database Connection
Here is a quick fix for the “Error Establishing a Database Connection.” However, you will need access to cPanel to resolve this issue.
First things first, log in to your cPanel and navigate to the File Manager. Once there, locate the WP-config file. We will need to change the Database password in the WP-config file. Again, go back to cPanel, find the MySQL database, and identify your Database Username. Change the database password for your user and choose a new secure one. After that, update the WP-config file with the new password. Save the changes! Now your website should be back and working!
Give it a try! Thank you!
Smart way to prevent brute Force #WordPress
Fool the BOT: Tricks to Prevent Brute Force Attacks by modifying the Login Page | WordPress Security
Renamed plugins folder using File Manager plugin. Installation Failed: Could not create Directory