Hi,
See
https://stackoverflow.com/questions/8496660/linux-mysql-server-cant-find-mysql-config.
The recommendation that you need to run
sudo apt-get install libmysqlclient-dev to install mysql_config seems reasonable - but we don't know how you installed MySQL in the first place.
Cheers,
Rob