Hi,
We will therefore assume that Wampserver works correctly with the "right" version of MySQL.
First you have to leave Wampserver and then temporarily change the way the logs are written for MySQL to make it a little more talkative.
Edit the file wamp\bin\mysql\mysql5.7.xx\my.ini and replace :
log_error_verbosity=2
by
log_error_verbosity=3
Save the modified file.
If the databases you want to recover are on a disk or partition (even a USB key NTFS formated) accessible by a fixed drive letter from the active Wampserver, here is the procedure, otherwise, you must go through the alternative procedure.
Let's suppose that the data folder whose databases you want to recover is on a USB key and has the path :
k:\wamp\bin\mysql\mysql5.7.24\data\
You must modify the same my.ini file as above, by replacing:
datadir="c:/wamp/bin/mysql/mysql5.7.24/data"
par
datadir="k:/wamp/bin/mysql/mysql5.7.24/data"
Beware of the slash / instead of the antislashes \ of the Windows paths and without final slash.
Save the modified file.
Launch Wampmanager and cross your fingers to start MySQL. Even if MySQL starts, it is not necessarily a sure thing.
--- Alternative procedure
- After saving them, delete all files and folders that are in the folder:
wamp\bin\mysql\mysql5.7.xx\data\
- Copy ,to the same data folder as above, all folders and files that are in the data folder of your other version of MySQL.
--- End of alternative procedure
---------------------------------------------------------------
Documentation Apache -
Documentation PHP -
Documentation MySQL -
Wampserver install files & addonsEdited 1 time(s). Last edit at 11/19/2018 12:27PM by Otomatic.