MySQL Database won't start in XAMPP Manager-osx

后端 未结 30 1256
暗喜
暗喜 2020-12-04 05:26

I downloaded XAMPP about a month ago and it was working just fine. Today I installed a voice recognition software and then restarted my computer. Ever since, MySQL won\'t st

相关标签:
30条回答
  • 2020-12-04 05:44

    Try running these two commands in the terminal:

    1. sudo killall mysqld sudo
    2. /Applications/XAMPP/xamppfiles/bin/mysql.server start
    0 讨论(0)
  • 2020-12-04 05:45

    Restarting the computer, or using the 'kill' commands listed above solve the problem. AS for preventing it from happening, I've found this occurring anytime my computer goes to sleep. The port is obviously kept reserved, and then on wake, mysql tries to reconnect to that port, but can't. This could be your problem also.

    0 讨论(0)
  • 2020-12-04 05:46

    All the answers stated above in relation to changing the port number are in this situation the best way to solve this problem since you need your voice recognition software to coexist with MAMP. However, you must remember that changing this port number is going to affect all you subsequent connections to MySQL (i.e, terminal,php code,phpmyadmin,etc). Hence It would be advisable to change the port on which the voice recognition software runs. Hope this was helpful.

    :)

    0 讨论(0)
  • 2020-12-04 05:46

    Just Click on Managed Servers Tab in XAMPP MANAGER , Now select MySQL Database, Click on configure on right side.

    Change port from 3306 to 3307 and it will work.

    0 讨论(0)
  • 2020-12-04 05:46

    Well, sometime there is just ERROR! message is shown in mysql comment on terminal. Then, just reinstall (overwrite) XAMPP, then it can be solved.

    0 讨论(0)
  • 2020-12-04 05:47

    For me the following worked: Change permission into 'read only' for 'everyone' to the file /Applications/XAMPP/xamppfiles/etc/my.cnf. Then start MySQL from XAMPP manager.

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