Making location of mysql_config configurable
MySQL database connector for Python programming
Brought to you by:
adustman
mysql_config should be in the $PATH, but that is not always the case. In fact, it's never the case on my machines :)
Especially when working on 20 versions 'at ones', one doesn't put mysql stuff in the $PATH.
I made some changes to the setup_posix.py file so it reads the option mysql-config and uses that one instead of the one in $PATH.
So, it works this way: update site.cfg with
[options]
mysql-config = /data1/mysql/5.1.15/bin/mysql_config
doing ./setup.py build, the one defined in site.cfg will be used.
Patch attached against 1.2.2b3.
Hope this helps!
Patch making location of mysql_config configurable.
Logged In: YES
user_id=71372
Originator: NO
Looks reasonable, not applied yet