Hello,
Well done for getting so far in attempting to recover the database.
One mistake you made was creating the new D:\wamp\bin\mysql\mysql5.6.17\data folder. So lets start by putting the D:\wamp\bin\mysql\mysql5.6.17\data back where it was.
Oh and also put MySQL back on port 3306!
So stop WAMPServer and
- Delete the new D:\wamp\bin\mysql\mysql5.6.17\data folder
- Copy D:\wamp\bin\mysql\mysql5.6.17\data_old to D:\wamp\bin\mysql\mysql5.6.17\data
copy so you have D:\wamp\bin\mysql\mysql5.6.17\data_old as a backup so you can try again
if this does not work!
WHY put old one back The D:\wamp\bin\mysql\mysql5.6.17\data folder contains a folder called
mysql this folder contains a MYISAM database that MYSQL uses to store all its knowledge of databases/tables/columns/users etc etc.
Also D:\wamp\bin\mysql\mysql5.6.17\data contains the ibdata1 (where innodb databases are actually stored and ib_logfile_0 and ib_logfile_1 files, these will be needed as well
So now we need to get MySQL started so we can try a recovery. If MySQL does not start with innodb_force_recovery = 0 try changing it to innodb_force_recovery = 1 or innodb_force_recovery = 2
We just need MYSQL to start and allow us to issue command.
Once MYSQL is started:
Drop all the tables of the database that is causing the problems
Then stop MYSQL and set innodb_force_recovery = 0
Restart MySQL, hopefully it should now restart.
You can now restore your backup to recreate you problem database.
If this does not work please keep a log of any/all error messages and we will try something else.
---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>Read The Manuals Apache --
MySQL --
PHP --
phpMyAdminGet your Apache/MySQL/mariaDB/PHP ADDONs here from the
WAMPServer alternate Repo-X-X-X-
Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-