'Mysql Database cannot start in XAMPP for Mac
Mysql Database suddenly cannot be start in my Mac. I already tried to run sudo /Applications/XAMPP/xamppfiles/bin/mysql.server start
but it show the error ../Applications/XAMPP/xamppfiles/bin/mysql.server: line 264: kill: (9346) - No such process
ERROR!
. is there anyone know how to solve it please?. I already tried to sudo killall mysqld
but still can't start.
Solution 1:[1]
Open Xampp panel, in Mysql databse press configure and change the port from 3306 ->3310 for example and it should work.
Solution 2:[2]
Just had a similar issue setting up xampp on MacOS 10.14.X... you can simply run sudo killall mysqld
then sudo /Applications/XAMPP/xamppfiles/bin/mysql.server start
For some reason if the above command doesn't work for you!
Try this:
For XAMPP 7.3.31-2, I changed the port number from 3306 to 3307.
- Click on Manage Servers
- Select MySQL Database
- Click on Configure on your right
- Change your port number to 3307
- Click OK
- Close your Control Panel and relaunch it.
You are now good to go.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Edonis Alijaj |
Solution 2 |