Bug #46935 No 64-bit version of the MySQL Preference Pane is available
Submitted: 26 Aug 2009 9:55 Modified: 5 Jan 2010 12:08
Reporter: Daniel Fischer Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:any, 5.1.37 OS:MacOS (10.6)
Assigned to: Alfredo Kojima CPU Architecture:Any

[26 Aug 2009 9:55] Daniel Fischer
Description:
All Mac OS X packages of the MySQL server include a 32 bit preference pane, even the x86_64 package. On Mac OS X 10.6, this will cause the following alert when opening the MySQL preference pane on an x86_64 Mac:

"To use the “MySQL” preferences pane, System Preferences must quit and reopen."

After confirming, System Preferences restarts its own 32 bit version, which allows it to load the MySQL preference pane.

How to repeat:
Install MySQL preference pane on Mac OS X 10.6.

Suggested fix:
The preference pane is already a universal binary that includes code for ppc and x86 in 32 bit mode. We should add code for the x86_64 architecture. Code for 64 bit ppc is not required as Mac OS X 10.6 doesn't support ppc.
[1 Sep 2009 14:49] Valeriy Kravchuk
Thank you for the problem report. Indeed:

valeriy-kravchuks-macbook-pro:mysql-test openxs$ file /Volumes/mysql-5.1.37-osx10.5-x86_64/MySQL.prefPane/Contents/MacOS/MySQL
/Volumes/mysql-5.1.37-osx10.5-x86_64/MySQL.prefPane/Contents/MacOS/MySQL: Mach-O universal binary with 2 architectures
/Volumes/mysql-5.1.37-osx10.5-x86_64/MySQL.prefPane/Contents/MacOS/MySQL (for architecture ppc):	Mach-O bundle ppc
/Volumes/mysql-5.1.37-osx10.5-x86_64/MySQL.prefPane/Contents/MacOS/MySQL (for architecture i386):	Mach-O bundle i386
[3 Sep 2009 15:55] mark miller
The kind people at "swoon dot net" have built a new preference pane that is compatible with both 64-bit and 32-bit Intel processors as well as 32-bit PowerPC processors.

http://www.swoon.net/site/software.html

The source code is available.  Please merge this code into an official MySQL release.
[25 Nov 2009 13:31] Michael G. Zinner
New binary to be included with all MySQL Server package for Mac OS X

Attachment: MySQL.prefPane.zip (application/zip, text), 83.03 KiB.

[25 Nov 2009 13:33] Michael G. Zinner
The fixed sources. To be checked into the server config instance wizard repository

Attachment: MySQLStartup-1.1.zip (application/zip, text), 128.34 KiB.

[21 Dec 2009 18:37] Karen Langford
Timothy installed pref pane on osx build machines prior to 5.1.42 build.
Once dmgs were created we installed the 5.1.42 osx10.6 x64_64 dmg
and saw no alert.
[5 Jan 2010 12:08] MC Brown
A note has been added to the 5.1.42 changelog: 

The Mac OS X MySQL Preference Pane component was not built for 64-bit, which would trigger the System Preferences application to restart into 32-bit mode.
[17 Sep 2012 14:33] Roupen Nahabedian
I'm still running MySQL 5.0.15a on my dev laptop. 

I recently upgraded my MacBook to Mountain Lion and now have this issue. Is there a way to only upgrade the Perf Pane to the 64-bit version without needing to upgrade the whole of MySQL? 

I'm a novice and seems like upgrading the whole of MySQL would be a much bigger deal. I just got through getting MySQL to run after the Mountain Lion upgrade (a symbolic link had gone missing).

If there is an easy way to upgrade the whole of MySQL I'm game for that. 

The workaround from swoon dot net mentioned in this thread is no longer on the site (granted, the original comment was from 2009 :-}