XAMPP - MySQL shutdown unexpectedly

前端 未结 30 2316
长情又很酷
长情又很酷 2020-11-22 09:42

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]

30条回答
  •  夕颜
    夕颜 (楼主)
    2020-11-22 10:36

    This means that you already have a MySQL database running at port 3306.

    In the XAMPP control panel, press the 'Config' button and after that press 'my.ini'. After this, Ctrl-F and search for '3306'. Replace any '3306' that you find with a different port number of your choice (you could choose 3307 or 3308 - I chose 2811 and it worked).

    After you have replaced every location where '3306' is written, save the file and press 'Start' on the control panel again.

提交回复
热议问题