I have hosted a website on DigitalOcean. I deleted unused media through a plugin “Media cleaner” (approximately 2K images). But it deleted some used images. Before doing this I have made a backup of only uploads through the Updraftplus plugin. So I restored the backup. Reassigned shortcodes in oxygen. But something happened and now it is showing “Error establishing a database connection” How to solve this? It’s urgent. Thank You!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.