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):

apt install libmysqlclient-dev


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.