10.6.5 and MySQLCOM not starting

Automatic startup of MySQL server under 10.6.5 doesn't seem to work although MySQL can be started manually.
On startup (or fast user switching) following alert is displayed:

Insecure Startup Item disabled.
“/Library/StartupItems/MySQLCOM” has not been started because it does not have the proper security settings.

Any ideas ?
(No update yet seen on MySQL site)

MacBook Pro Core 2 Duo, MacBook Core 2 Duo, PowerBook G4, iMac G4, iMac G3, Mac OS X (10.6.4), 2.33 GHz 3 GB RAM disk 160 MB, iPhone 3G 4.0.2

Posted on Nov 11, 2010 12:46 AM

Reply
23 replies

Dec 28, 2010 9:15 PM in response to debenriver

Many of those steps are out-of-date. The following thread:
http://discussions.apple.com/thread.jspa?messageID=12229472&#12229472
has the latest settings you should use for MySQL on MacOS X. In particular, Apple changed some default socket paths so that they were consistent and in a more secure locations. You are reverting back to the old locations. Plus, it is better to use launchd instead of startup items. I don't know why MySQL has never done that. It has only been 6 years now I think.

Dec 29, 2010 1:31 PM in response to eddy kestemont

I found a super easy fix to this problem here: http://www.artin.org/geekblog/2010/12/installing-mysql-5-5-8-on-mac-os-x-snow-le opard/

To quote:
1. Drop into Terminal.app
2. Type: sudo /Applications/TextEdit.app/Contents/MacOS/TextEdit /usr/local/mysql/support-files/mysql.server
3. Find the line starting with basedir and datadir and replace with:
basedir=/usr/local/mysql
datadir=/usr/local/mysql/data
4. Save the file
5. Start MySQL using the System Preferences pane button.

Worked like a charm!

Jan 10, 2011 12:49 PM in response to mgl2nd

mgl2nd wrote:
I found a super easy fix to this problem here: http://www.artin.org/geekblog/2010/12/installing-mysql-5-5-8-on-mac-os-x-snow-le opard/

To quote:
1. Drop into Terminal.app
2. Type: sudo /Applications/TextEdit.app/Contents/MacOS/TextEdit /usr/local/mysql/support-files/mysql.server
3. Find the line starting with basedir and datadir and replace with:
basedir=/usr/local/mysql
datadir=/usr/local/mysql/data
4. Save the file
5. Start MySQL using the System Preferences pane button.

Worked like a charm!


I'd had the same problem with new mysql release, a combination to catalinpetrisor and this one - mgl2nd - (I'd add basedir to /etc/my.cnf too), and now, works kinda normal way ... sigh ...

Hope all you resolve these stuffs with mysql 5.5.8 🙂

Message was edited by: VieL

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

10.6.5 and MySQLCOM not starting

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.