Question: How to repair mysql in xampp windows
Answer:
- You can check for the error log file that may help you finding out the problem
- rename the data folder in mysql folder as data.old
- copy the backup folder and renmae it to data
- copy the ibdata1 file from data.old into new data folder
- copy the folders that are databases into new folder
- try starting the mysql server. hopefuly it will work
Note: ibdata1 file has the tables detail of all databases and the folders have only the database and table names in it