2 Votes Vote

Mac OS X: Trouble with Local Django + PyDev install working with remote MySQL

Posted by topdog 519 days ago Questions| mysql config python All

I've got PyDev installed in Eclipse. I'm trying to play with Django. I'm got a remote MySQL database set up. I would really like to not install MySQL on my MacBook.

Trying to set up the MySQL plugin for python, I get

(djangotest)jeebus:MySQL-python-1.2.3 blah$ python setup.py clean
sh: mysql_config: command not found
Traceback (most recent call last):
  File "setup.py", line 15, in <module>
    metadata, options = get_config()
  File "/Users/nali/djangotest/temp/MySQL-python-1.2.3/setup_posix.py", line 43, in get_config
    libs = mysql_config("libs_r")
  File "/Users/nali/djangotest/temp/MySQL-python-1.2.3/setup_posix.py", line 24, in mysql_config
    raise EnvironmentError("%s not found" % (mysql_config.path,))
EnvironmentError: mysql_config not found

The error makes sense since I don't have any of MySQL or related tools set up.

Are there an Snow Leopard MySQL libraries I can use to satisfy the need for mysql_config without actually installing MySQL?

Originally asked by: Hello on Stack Overflow

Discuss Bury


Who Voted for this Question