MySQL Forums
Forum List  »  Connector/Python

mysql_config not found
Posted by: Jason Nerida
Date: March 12, 2008 03:04PM

Hello,

I'm assuming I need to add something to my .bash_profile PATH but I'm
not sure what. I unsuccessfully tried this:

PATH="/usr/local/mysql/bin/mysql_config:${PATH}"
export PATH

Oh yeah, here's the terminal error:

fastrax-studios-power-mac-g4:~/MySQL-python-1.2.2 fastraxstudio$
python setup.py build
sh: line 1: mysql_config: command not found
Traceback (most recent call last):
File "setup.py", line 16, in <module>
metadata, options = get_config()
File "/Users/fastraxstudio/MySQL-python-1.2.2/setup_posix.py", line
43, in get_config
libs = mysql_config("libs_r")
File "/Users/fastraxstudio/MySQL-python-1.2.2/setup_posix.py", line
24, in mysql_config
raise EnvironmentError, "%s not found" % mysql_config.path
EnvironmentError: mysql_config not found
fastrax-studios-pwer-mac-g4:~/MySQL-python-1.2.2 fastraxstudio$

Thanks for any help,

J

Options: ReplyQuote


Subject
Written By
Posted
mysql_config not found
March 12, 2008 03:04PM
March 15, 2008 07:48AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.