I have install XAMPP a long time ago and now MySQL won't start.
I already have this problem and I think I just added this line to XAMPP file in xamppfiles
folder to start MySQL.
unset DYLD_LIBRARY_PATH
When I try to start MySQL on the teminal, with:
sudo /Applications/XAMPP/xamppfiles/bin/mysql.server start
I get an error:
ERROR! The server quit without updating PID file (
/Applications/XAMPP/xamppfiles/var/mysql/MBP-de-IMYMY.pid
).
Yesterday, it stopped working when I opened the XAMPP manager. I did nothing and it stopped working.
Is there any solution?
There is a Solution:
Looking for some running mysql-processes:
sudo ps aux | grep mysql
It returns something like this:
root 13425 1,2 0,0 2432772 ...
_mysql 7545 0,0 0,1 2606424 ...
root 315 0,0 0,0 2434396 ...
root 13420 0,0 0,0 2434392 ...
Then kill them all by typing:
sudo kill -9 7545
Restart the MySql-Services again...
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.