mysql in xampp starts and stops in five seconds

后端 未结 8 522
长情又很酷
长情又很酷 2021-01-12 11:49

I installed xampp in windows XP. I am able to start apache and tomcat. But when I start mysql, it gets started but stops after five seconds.

So, I am not able to w

8条回答
  •  孤城傲影
    2021-01-12 12:22

    I'm not sure if this will also work for your case, but it surely did for me, and I've yet to encounter the answer here.

    go to Xampp/mysql/bin/my.ini

    add the following line:

    innodb_force_recovery = 1 
    

    (I think anything > 0 works here, also... it might be handy to make a backup of the file just to be on the safe side.)

    You should now be able to successfully start your mySQL service.

提交回复
热议问题