I have a running (in production) mysql instance on my linux server (ubuntu-10.10) however I cannot find my mysql_config file.
command and output:
~$ lo
On Fedora, install the mariadb-devel
package, and you should have the binary.
In Ubuntu 13.04 installation, it is at /usr/bin/mysql_config
You can also do:
find / -name my.cnf -type f
The mysql_config
executable is by default located in the bin directory of the MySQL server installation if you install it from precompiled binaries. But if you install it using apt-get
it may not exist on your server.
Try:
sudo apt-get install libmysqlclient-dev
yum install mariadb-devel
works for Centos 7 too, this puts the mysql_config
into all the places that pip install mysqlclient
requires/looks for it.
Try /etc/my.cnf, that is the standard file for mysql config.