Schwierig. Funktioniert gar nicht gut. Man muss sich so behelfen:
Step 1: download the latest MySQL Community Server in DMG format for x86-64 from this page, and install the main package. Worry not: nothing is going to be started on boot, so this is not going to mess with your pre-existing MySQL installation. The package is going to be installed in /usr/local/mysql-5.1.45-osx10.6-x86_64/, with a handy /usr/local/mysql/ symbolic link.
Step 2: download the latest MySQLdb Python module from this page, and unpack it somewhere.
Step 3: set the $PATH environment variable to include /usr/local/mysql. That’s because the module’s setup.py is going to need to call mysql_config, and you want it to find the one you just installed, as it comes with all the stuff it needs. Step 4: do the classic build and install dance, making sure you prepend the commands with ARCHFLAGS=’-arch x86_64′. This is because you want to compile a 64-bit module.In short:
bc. tar vxfz MySQL-python-1.2.3c1.tar.gz cd MySQL-python-1.2.3c1 export PATH=/usr/local/mysql:$PATH ARCHFLAGS=’-arch x86_64’ python setup.py build ARCHFLAGS=’-arch x86_64’ python setup.py installUnd dann: Zweitens
export DYLD_LIBRARY_PATH=/usr/local/mysql/lib/
in die .bash_profile
Nachtrag: Die Daten waren halt alle weg, als ich die neue MySQL-Version angeworfen hab. Und auch keine Rede davon, daß das mit _64 nicht ginge. Aber dann die Daten vom alten ins neue Verzeichnis kopiert und als Owner _mysql eingetragen, und schon funkt helma local wieder