Skip to content

Fix “mysql_config not found” error on Linux

If you have database interaction in your application, it may fail with the following error after installing the needed modules:

EnvironmentError: mysql_config not found

That is because mysql_config is in another package than mysql-server. You can install the needed package (Example on a Debian/Ubuntu system):

[sc name=”src” url=”https://stackoverflow.com/questions/7475223/mysql-config-not-found-when-installing-mysqldb-python-interface” ]

Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.