Bug #60191 Update OS X documentation to include installer bug workaround
Submitted: 21 Feb 2011 16:10 Modified: 2 Apr 2013 14:13
Reporter: Rob Lewis (Candidate Quality Contributor) Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Documentation Severity:S2 (Serious)
Version:5.5.9 OS:MacOS (10.6)
Assigned to: Paul DuBois CPU Architecture:Any
Tags: installing, permissions, qc, Security, startup

[21 Feb 2011 16:10] Rob Lewis
Description:
Until bug #59855 is fixed (along with related installation bugs such as #57790 and #57099), the OS X-specific documentation (perhaps section 2.4.1) should include a description of the "insecure startup item disabled" error message and how to produce a working installation. 

How to repeat:
Install MySQL and attempt to launch it at startup

Suggested fix:
Document the need to do this:
Modify the mysql.server script file using the following command : 

sudo /Applications/TextEdit.app/Contents/MacOS/TextEdit
/usr/local/mysql/support-files/mysql.server 

Locate the configuration defining the basedir and set the following : 
basedir=/usr/local/mysql 
datadir=/usr/local/mysql/data 

Save the file and start the mysql server in the system preferences / terminal

and this: 

Change the group (GID) from "staff" to "wheel":

$  sudo chown :wheel MySQLCOM 
$  sudo chown :wheel StartupParameters.plist

$ ls -l /Library/StartupItems/MySQLCOM/
-rwxr-xr-x  1 root  wheel  1300 13 Sep 13:42 MySQLCOM
-rw-r--r--  1 root  wheel   472 13 Sep 13:42 StartupParameters.plist
[21 Feb 2011 16:17] Valeriy Kravchuk
Thank you for the documentation request.
[2 Apr 2013 14:13] Paul DuBois
Thank you for your bug report. This issue has been addressed in the documentation. The updated documentation will appear on our website shortly, and will be included in the next release of the relevant products.

Added the workaround here (and in corresponding sections for other refman versions):
http://dev.mysql.com/doc/refman/5.6/en/macosx-installation-notes.html