MySQL pid ended (cannot start mysql)
I have the same problem when installing mysql newest version mysql-5.6.10-osx10.7-x86.dmg for my MAC OS 10.7.5. Following is my solutions.First , delete the mysql installed
sudo rm /usr/local/mysqlsudo rm -rf /usr/local/mysql*sudo rm -rf /Library/StartupItems/MySQLCOMsudo rm -rf /Library/PreferencePanes/My*sudo rm -rf ~/Library/PreferencePanes/My*sudo rm -rf /Library/Receipts/mysql*sudo rm -rf /Library/Receipts/MySQL*sudo rm -rf /var/db/receipts/com.mysql.*
Then, get mysql-5.1.68-osx10.6-x86.dmg , install this old version, and done!
As @AndPy says, the same with me, if you ls -l
the /usr/local/var/mysql
you can see that the file COMPUTER-NAME.local.err
is owned by _mysql
or some such.... in this case just erase the file and mysql.server start
will create new one owned by your user and will start properly this time :)
If the file is already owned by your user, this wont help, you got to google more :(
I found this error on redmine bitnami stack because owner of files in directory data incorrect.
Check owner of directory /mysql/data/ must be 'mysql' user
Hope this help.