[FIXED] XAMPP Error: MySQL shutdown unexpectedly | Repair Corrupted Database

 How to fix [FIXED] XAMPP Error: MySQL shutdown unexpectedly | Repair Corrupted Database


To fix this problem you have to follow very simple methods which i am going to show you and your MySQL shutdown error will gone.

Step 1 : Go To C drive | C:\

Here at the bottom, you can see the xampp folder.


Now open the folder xampp folder you will see the mysql folder you have to click on that and open that folder 



When you open my sql folder you will see this kind of folder structue.



Step 2: Copy the data folder and paste into the same folder.




Look at the bottom there is a data-copy folder is there . change the name of the folder and make it as data-old like below image .

Step 3: Rename the data-Copy folder as data-old

what you have to do just chnage the folder name  data-Copy folder as data-old.





Step 4: Now open data folder 

Now when you jump to data folder you will see many folder and here each folder correspond to the database .


Step 5: Delete the selected folder as shown below image


Now as you can see only these folders is remaining i have 

Step 6 : except ibdata1 delete other files also shown in below image.


Now we have only these files .


Now go to back and click on backup folder 



open the backup folder. again except ibdata1 file copy everything from backup and paste it into 
data folder 


Step 7: Except ibdata1 file copy everything from the backup and paste it into the data folder.


Look i have paste the files and folders from backup folder to data folder .

Now [FIXED] XAMPP Error: MySQL shutdown unexpectedly | Repair Corrupted Database is Resolved Now 



if you like this blog please visit other blog also .

Post a Comment

Previous Post Next Post