Follows the steps to fix this error:
Step 1: Moved(cut/paste) all the files in
C:\xampp\mysql\datato desired backup location.Step 2: After that copied all the files from
C:\xampp\mysql\backuptoC:\xampp\mysql\dataStep 3: Restarted mysql and checked the phpmyadmin url, it worked.
Step 4: After that stopped mysql that copied ibdata1 file from backup location to
C:\xampp\mysql\dataStep 5: Restarted mysql
Step 6: After that copied all database folders and checked all the tables, It worked.
Or this solution (shorter):
Just copy all files from
C:\xampp\mysql\backuptoC:\xampp\mysql\dataMake sure to take backup of your data folder to avoid any further problems.
If you see any error related to table engine then you can copy file ibdata1 from your backup data folder to current data folder
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.