How to recover database from xammp folder

recover database from xammp

1- Rename the folder mysql/data to mysql/data_old (you can use any name)

Rename the folder data to old_data in mysql folder, You can use Any name.

Path: xammp/mysqli/data

2- Create a new folder mysql/data

Path: xammp/mysqli/data

3- Copy the content that resides in mysql/backup to the new mysql/data folder

4- Copy all your database folders that are in mysql/data_old to mysql/ data (skipping the mysql, performance_schema, and phpmyadmin folders from data_old)

5- Finally copy the ibdatal file from mysql/data_old and replace it inside mysql/data folder

6- Reastart your system.

Leave a Reply

Your email address will not be published. Required fields are marked *

Back To Top