XAMPP - MySQL shutdown unexpectedly

前端 未结 30 1708
长情又很酷
长情又很酷 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:34

    Guys just make sure you dont have MySql Server installed. Because I have MySql server pre-installed and when I start mysql from xampp control panel some port conflicts are happening and its not working.. SO before starting the mysql from xampp control panel make sure mysql server is not installed. I use .net so I have installed mysql server in the Past. Uninstalling it solved my Problem....

    0 讨论(0)
  • 2020-11-22 10:34

    I literally deleted every file from c:\xampp\mysql\data\ except my.ini and it works

    0 讨论(0)
  • 0.cntr+alt+delet
    1.end task mysqld
    2.Restart mysql.
    

    0 讨论(0)
  • 2020-11-22 10:35

    Config->Apache->Open httpd.conf. search for Listen or 80,update listen port to 8081 save and restart server. Oh and shutdown Skype if you have it.

    0 讨论(0)
  • 2020-11-22 10:36

    For me I quit Skype, which was occupying port 80, then Apache ran happily on port 80, than I ran Skype and it picked another port this time.

    0 讨论(0)
  • 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.

    0 讨论(0)
提交回复
热议问题