Installing mySQL on mac for use with python
- by Paul Patterson
I am aware that there are umpteen similar questions here, and on other forums, but none of them have been able to help me.
I simply want to install mySQL on my mac (running snow leopard 10.6.5) for use with Python.
So far I have:
1) downloaded and installed [mysql-5.5.8-osx10.6-x86_64.dmg]
(I have also accidentally downloaded and installed [mysql-5.1.54-osx10.6-x86_64.dmg])
2) downloaded and installed [mySQL-python-1.2.3]
3) added the following to my .bash_profile:
[export PATH=$PATH:/usr/local/mysql/bin]
but when i run:import mySQLdb in terminal I am met with the following message:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named mySQLdb
Can anyone help?