mysql_config not found

ln -s /usr/local/mysql/bin/mysql_config /usr/local/bin/mysql_config

或者

yum install mysql-devel