When I open XAMPP and click start MySQL button and it gives me an error. I had started it just before, but now it isn\'t working.
12:19:12 PM [mysql]
Stop there! Please do NOT delete ibdata1 file!
Deleting this file is like playing a Russian roulette with your databases, it could work and restablish everything, but also, probably could harm every database you have. Instead, first try using the MySQL backup folder which is included with XAMPP. So do the next:
mysql/data to mysql/data_old (you can use any name)mysql/datamysql/backup to the new mysql/data foldermysql/data_old to mysql/data (skipping the mysql, performance_schema, and phpmyadmin folders from data_old)ibdata1 file from mysql/data_old and replace it inside mysql/data folderAnd, voilà!