MySQL Forums
Forum List  »  Connector/Python

Re: Problems building MySQLdb on Max OS X 10.5.8
Posted by: Geert Vanderkelen
Date: May 19, 2010 06:04AM

Hello Philip,

Mm.. I can't verify this, but I thought the Python coming with 10.5 is 32-bit.
On MacOS X 10.6, you'll get the following output:

$ file /usr/bin/python
/usr/bin/python: Mach-O universal binary with 3 architectures
/usr/bin/python (for architecture x86_64): Mach-O 64-bit executable x86_64
/usr/bin/python (for architecture i386): Mach-O executable i386
/usr/bin/python (for architecture ppc7400): Mach-O executable ppc

Check if the python executable is also universal for 10.5 with the file command as shown above.
Also, if you go 64, you'll need MySQL 64-bit too.

If 32-bit works for you on MacOS X 10.5, I suggest sticking with it. You'll probably have no advantage using 64-bit, unless you are running a server with lots of memory that mysqld can be eat^H^H^Huse.

Cheers,

Geert

Geert Vanderkelen
Software Developer at Oracle

Options: ReplyQuote


Subject
Written By
Posted
Re: Problems building MySQLdb on Max OS X 10.5.8
May 19, 2010 06:04AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.