Lost database
Posted by: morilko (---.lnk.telstra.net)
Date: March 10, 2020 12:55AM

I have done something seriously stupid. I have been running wampserver successfully with no issue for months on end. I wanted to make imagemagick work but found out it tended to work better with wampserver 2, not 3 (which I currently had). So this morning I uninstalled wampserver 3. Of course it asked whether I had backed everything up and I said yes. I had backed up the files on the server, but not the actual databases. When I installed wampserver 2, the databases are gone.

I am guessing it's a lost cause, but is there any possible way I can recover the databases? I put literally months of work into them and i still can't believe I didn't make even one export backup of the database.

Thanks

Options: ReplyQuote
Re: Lost database
Posted by: Otomatic (Moderator)
Date: March 10, 2020 09:52AM

Hi,

Your databases, by default, are in the wamp(64)/bin/mysql/mysqlx.y.z/data/ folder.

Since the folder was deleted by the uninstall* and then you rewrite to disk, I'm afraid it's unrecoverable.

* The warning message is very clear:

WARNING: The Wampserver installation folder will be completely deleted: the local sites and databases located in this folder will be destroyed if you have not previously backed them up.

Do you really want to uninstall Wampserver?

------------------------------------------------------------------------------------------------------------
Wampserver 3.2.0 32 bit - Apache 2.4.43 - PHP 7.4.4/7.3.16/..../5.6.40 - MySQL 5.7.29 - MariaDB 10.4.12
Wampserver 3.2.0 64 bit - Apache 2.4.43 - PHP 7.4.4/7.3.16/..../5.6.40 - MySQL 5.7.29/8.0.19 - MariaDB 10.4.12
PhPMyadmin 5.0.2 - MysqlDumper 1.24.5
on W10 and W7 Pro 64 bit
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons
« Ce n'est pas parce qu'ils sont nombreux à avoir tort, qu'ils ont forcément raison. Coluche »
« It's not because they are many to be wrong, they are necessarily right. Coluche »

Options: ReplyQuote
Re: Lost database
Posted by: morilko (---.83.96.58.static.exetel.com.au)
Date: March 10, 2020 10:41AM

Thanks Otomatic

You are right, the warning was clear. This is why I began with "I have done something seriously stupid"...

I just thought as a last ditch attempt I'd post on the wampserver forum. I was expecting your answer. Time to begin again.

Options: ReplyQuote


Sorry, only registered users may post in this forum.