Free and Premium WordPress Plugins & Themes Forums WordPress Plugins Hotel Booking Error establishing a database connection
- This topic has 3 replies, 2 voices, and was last updated 1 year, 4 months ago by J. Davis.
- January 10, 2022 at 2:29 pm #1242263Armand BoniParticipant
I have deleted some rows on wp_sync_logs table and now I can not login on wordpress.
In home page or admin page it says “error establishing a database connection”.
I didnt change anything with database name, password etc but still double checked and they are as they should be.
But I still get this error.
Any idea why is this happening?
Note: I have other websites on the same server and they are working just fine, no faulty mysql servers or such thing.January 11, 2022 at 8:23 am #1242671J. DavisKeymaster
Thanks for contacting us. It is possible to clear the logs of synchronization via Calendar Sync Status (link at the top admin bar). Thus we recommend you to restore your site from a backup if there is such possibility and clear the logs via the dashboard only.
J. DavisJanuary 11, 2022 at 8:38 am #1242683Armand BoniParticipant
Unfortunatelly the database is corrupt and now I can not even access my 1 year old website 🙁January 12, 2022 at 12:26 am #1243073J. DavisKeymaster
We are sorry to hear that. You may try to contact your hosting provider and ask them to check if there is any backup of your site to restore it. Let us know if we can do anything else for our side.
- You must be logged in to reply to this topic.