Error Establishing Database Connection

How to Fix Error Establishing Database Connection in WordPress

Having a problem Fixing Error Establishing Database Connection with the WordPress database? This error may happen because of many reasons and sometimes it’s very frustrating to fix this error. We got this same error few days ago on our own site and It took a little over 10 minutes to detect and fix the problem. Sometimes a bad plugin might be a nightmare. I used below techniques to fix this error establishing a database connection in WordPress. Why you’re getting this Error Establishing Database Connection? We encountered this error because WordPress is incapable to reach the database. This may happen because of the following reasons: 1. A bad plugin corrupts the database. 2. Wrong Credentials on the wp-config.php file. Wp-config is a PHP file that we can easily edit with FileZilla. 3. The website has been moved to a new web host. Let’s discuss all the reasons one by one. 1. A bad plugin corrupts the database. To troubleshoot this error, we’ve to find the problematic plugin. Go to plugins and click Installed Plugins. deactivate the WordPress plugins one by one and find the problematic plugin. For this purpose, go to the Admin Dashboard and from the Left side bar…

500 Internal Server Error

How to Fix 500 Internal Server Error in WordPress

500 Internal Server Error is a very common error in WordPress. When we open any website then we’re actually the server to show that specific page. This Guide helps you to Fix 500 Internal Server Error. There may be many reasons for this error like misconfiguration of any plugin, .htaccess file, Memory limit etc. Let’s discuss one by one and try to solve your issue. Create a Backup: Don’t forget to take a backup. It’s always important to take a backup before you take any action. It’s always a safe side to avoid any data loss. Some Hosting providers provide automated backup service. Automated backup is a good service and you only need to download the backup from your hosting provider’s website. If your hosting provider fails to provide this service, then you’ve to manually take a backup of your database and WordPress files. Deactivate Plugins: Next step is to deactivate the WordPress plugins one by one and find the problematic plugin. For this purpose, go to the Admin Dashboard and from the Left side bar click Plugins. Follow this: Dashboard > Plugins > Installed Plugins. Here you will find all Installed plugins. Deactivate the plugins one by one and…