Feb
28
Zend Server Community Edition for Mac OS X – MySQL problem
February 28, 2010 | 3 Comments
I switched my dev. environnement at work from MAMP to Zend Server Community Edition a while ago but was disappointed that my Mac Book could not migrate because of a MySql error. Every time I would try to run the server, I would get the following error:
1 | ERROR! MySQL PID file could not be found! |
Googling this error, all kinds of solutions came up: privileges on the files, misconfiguration issues, installation problems…
It seems to be a generic message. After trying to understand what might have happened to the missing PID file, I tried re-installations and all the common MySql on Mac OS X tips I could find on Google. No luck. At least, MAMP worked.
Eventually, the same error occured on alheim’s computer. He eventually found a solution which worked for him (SnowLeopard running on Mac Book Pro) for my own laptop as well (Snow Leopard on a black MacBook).
So here are the steps we took:
1 2 3 4 5 | cd /usr/local/zend/mysql sudo scripts/mysql_install_db sudo chown -R zend:wheel data cd .. sudo bin/zendctl.sh start-mysql |
Hopefully, you’ll get a “SUCCCESS” message, too. Thanks to Alheim for the tip.
Comments
3 Comments so far

New blog post: Zend Server Community Edition for Mac OS X – MySQL problem:
I switched my dev. environnement at wo… http://bit.ly/bi9ODQ
Hi,
I have exactly the same problem and environment (MacBook PRO with alread MAMP installed) and i can’t solve the problem
ERROR! MySQL PID file could not be found!
I have tried your solution but no way…
EDIT > ARRRRRRRRRRRRGGGGGHHHHH i have just forgot one line now it works !
Thank you so much
greg
Glad this post was of help. It was a nightmarish problem for me for a while, too