Is it better to install MySQL 32bit or 64bit on my Intel 64bit Mac (Perl / Python user)?

I had a lot of headaches trying to get the MySQL API for Perl and Python running on my 64-bit Macbook Pro (Leopard). I installed the 64-bit version of MySQL, but now I get the impression that this may be the source of my pain. None of the various SO blogs and answers seem to work (e.g. here on SO )

Could a 64-bit MySQL error be the culprit? Can anyone confirm that they have MySQL access through Perl and / or Python on a 64-bit Mac using 64-bit MySQL? Did you do something special or have some similar problems?

+5
source share
2 answers

32-bit and 64-bit libraries do not play together. So it depends on whether you use 32-bit Perl / Python or not.

If so, you will need 32-bit MySQL. Most likely your Python is at least 32-bit, since both Apple-sent Python and the binaries from python.org are only 32-bit. You can create 64-bit Python (or-gasp-4-way i386 / x86_64 / ppc / ppc64 Universal Binary) from the source, but if you really don't need to work with absolutely huge files / memory sizes (I say for example memory cards with several gigabytes), most likely, you do not need 64-bit now.

+4
source

32vit 64bit MySQL, , . 64- MySQL.

Unix MySQL ; , . Mac.

+2

All Articles