Problems after reinstalling wampserver
Posted by: bathos (89.221.203.---)
Date: February 15, 2012 05:44PM

Hello all!
I've reinstalled recently wampserver and now I'm getting some problems with a database.
The point is that before reinstalling I coppied old bases from mysql/data folder to some temp folder.
After new installation I coppied those files back to origanal ../data folder.
Now when I'm openning phpmyadmin and trying to choose my database,
I'm getting the error - tables not found or something like this.
Please, help me! And thanks a lot in advance!

Re: Problems after reinstalling wampserver
Posted by: stevenmartin99 (---.32-151.iol.it)
Date: February 15, 2012 06:42PM

U can't just move MySQL databases like this.
Most likely you have lost your data.

Try use the backup you have - but not just the data- the entire MySQL folder - try run that MySQL and export the data

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]



Edited 1 time(s). Last edit at 02/16/2012 07:18AM by stevenmartin99.

Re: Problems after reinstalling wampserver
Posted by: bathos (89.221.203.---)
Date: February 16, 2012 05:00AM

It worked fine before so why it dosn't work now? Unfortunately I didn't backuped my databases just moved the database folder. Is there other to solve the problem?

Re: Problems after reinstalling wampserver
Posted by: stevenmartin99 (---.32-151.iol.it)
Date: February 16, 2012 07:17AM

It depends on the engine that MySQL was saving with

Can you give a list of the files you have in the dats folder and sub folders

You can use the cmd tree command

In cmd navigate to the folder and type to

Tree /f > structure.txt

Then open structure.txt and paste it here.

You made need to put [cod e] [/cod e] tags around it (without the space between d and e ) to keep the formatting

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]



Edited 1 time(s). Last edit at 02/16/2012 07:19AM by stevenmartin99.

Re: Problems after reinstalling wampserver
Posted by: bathos (89.221.203.---)
Date: February 21, 2012 06:23AM

Steven, thank you a lot for help. I solved the problem not the way I wanted thogh.
This database didn't include any needful data so I just remade it totally.
I tried to figure out why it happens but failed once more. It was not the first time I'd faced this problem.
Every time after updating wampee I followed the same way that is I just moved folder to temp folder and then
coppied it back. And it worked well by now. So now.... I've no idea.
Thanks again anyway.

Sorry, only registered users may post in this forum.