I accidentally deleted mySQL database, and I have no way to restore the database.
I still have all the files like wp-admin, wp-content, wp-config.php and so on.
If I create a new website with all blank pages. Would there be an easy way to restore my previous pages from the files I have?
I accidentally deleted mySQL database, and I have no way to restore the database.
I still have all the files like wp-admin, wp-content, wp-config.php and so on.
If I create a new website with all blank pages. Would there be an easy way to restore my previous pages from the files I have?
Share Improve this question asked Sep 27, 2018 at 20:13 Stanley GuoStanley Guo 11 silver badge1 bronze badge 1- Did you used any backup plugin in your site ?? – Krishna Joshi Commented Sep 28, 2018 at 5:09
2 Answers
Reset to default 3Content in WordPress is inside the WordPress database.
If you have deleted the WP database, then the content is gone. Installing a new WP instance will create a new, mostly blank database.
So, unless you have a backup copy of your database to restore, your content is gone.
Your hosting place may have made a backup of things, including your database. So you might contact them to see if they can restore your databases.
Unless the hosting place has a backup copy (many do), you might be out of luck. Sorry.
(For 'lurkers' ... do you have a backed up / offsite copy of your WordPress database? There are many plugins that will do that for you.)
You seem out of luck, my friend, but search your page here: https://web.archive/ it MAY save your sanity.