Mysqldb python install mac os x

On your settings.


  • Installing MySQLdb on MacOS Lion.
  • my mac email is offline;
  • How to install mysqldb (mysql-python) on MAMP | Dream Conception;

If you are not getting any errors at this point, then you are all good to go! You will easily end up with a working MySQL installation, as well as a pref. For some reason, I am just not able to get this thing work. Tried all options here and on stackoverflow. Please help!!! Tried everything but nothing worked for me.

This is just too complicated with multiple suggestions to fix it. Quit wasting more time on this and switched to Windows. Hence the wrong architecture error. Thank you so much. Your blog just saved me. Sweet guide.


  • download mac os x icons for windows.
  • fl studio mac free trial.
  • Subscribe to RSS.
  • MySQL-python (aka MySQLdb) on OSX Lion | Active Intelligence?
  • use old imac as screen for mac mini?
  • Setting up Python, MySQL Module and Django on Mac OS X Lion!
  • How to install mysqldb (mysql-python) on MAMP.

No other guide seemed to have the right steps for that. Comments RSS. You are commenting using your WordPress.

Getting Started with MySQL Python Connector

You are commenting using your Google account. You are commenting using your Twitter account. You are commenting using your Facebook account. Notify me of new comments via email. You can find more details here. Note1: I've seen some people saying that installing python-dev and libmysqlclient-dev also helped, however I do not know if these packages are available on Mac OS.

Project description

I got my answers from besides my brain these places maybe you could have a look at them, to see if it would help : 1 , 2 , 3 , 4. I had been debugging this problem forever - 3 hours 17 mins. These threads above and many other I scoured the internet for were helpful in eluminating the problem but didn't actually solve things. Pip is looking for mysql binaries in the Homebrew Directory which is located relative to Macintosh HD.

Installing MySQL Python on Mac OS X - Stack Overflow

Step 3: Once there open terminal and use a text editor of choice - I'm a neovim guy myself so I typed doesn't automatically come with Mac Any ideas? Please note I'm not on a vertualenv.

97 Replies to “Python-MySQL Connections on Mac OS”

Note2: Also, make sure to try running the commands as root. I hoped I helped, and would be happy to know if any of this worked, or not. Good luck.