
Solution :-
IMPORTANT: do NOT delete
ibdata1
file. You could destroy all your databases.
Instead, first, try using the MySQL backup folder which is included with XAMPP. So do the next steps:
- Rename folder
mysql/data
tomysql/data_old
- Make a copy of
mysql/backup
folder and name it asmysql/data
- Copy all your database folders from
mysql/data_old
intomysql/data
(exceptmysql
,performance_schema
, andphpmyadmin
folders) - Copy
mysql/data_old/ibdata1
file intomysql/data
folder - Start MySQL from the XAMPP control panel
