Fix Error establishing a database connection | 2022
Is your WordPress site showing “error establishing a database connection”? If yes, then this WordPress video tutorial might help you fix the issues.
There could be several reasons for WordPress database connection errors, however, the database issues mostly appear while moving the website from one host to another, the other reason could be the corrupted database. If the error is because of the mismatch of the database username & password as on the WP-config file, it can be easily fixed. If the database is corrupted, you might have to restore your database to an earlier date. We really hope that this video will help resolve your issues. Thank you.
Disable Auto-Update Email Notifications and Block Updates for Plugins, WP Core, and Themes
How to Repair and Optimize Your WordPress Database Automatically
How to increase upload file size limit in WordPress cPanel