![]() ![]() This is by far the most common reason why the error establishing a database connection message occurs. The very first thing to do is check to ensure your database login credentials are correct. Once you have a successful backup, it is then time to start troubleshooting your database connection issues. Or you can manually backup your MySQL database using phpMyAdmin. You then also have the option to restore a backup to production or staging. Simply click into your WordPress site in MyKinsta, click on “Backups” and then on “Back up now.” Backup WordPress site If you are a Kinsta user, you can simply take advantage of our one-click backup feature. You can never have too many backups no matter how tech-savvy you think you are. You can use a popular WordPress backup plugin such as VaultPress or WP Time Capsule to backup both your files and your database. You should always backup before trying to fix things on your WordPress site no matter how tech-savvy you think you are. ![]() A lot of the recommendations below involve manipulating information in your database, so you don’t want to make things worse. How to Fix the Error Establishing a Database Connectionīefore you start troubleshooting the error, we always recommend taking a WordPress site backup. This is actually quite common with shared hosts as they are utilizing the same resources for a lot of users on the same servers. A number of things could be wrong on the web hosts end, such as the database being overloaded from a traffic spike or unresponsive from too many concurrent connections. This can even happen sometimes due to hackers.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |