http://www.perlmonks.org?node_id=189380


in reply to Problems installing DBD::mysql

The errors are telling you it can't find mysql_config. My version of /usr/bin/mysql_config is provided by the main MySQL rpm. Are you sure you already have MySQL installed? If so, did you compile manually? If that's the case, perhaps there is a configure flag you missed? Regardless, you're missing mysql_config... or, at the very least, it's not in your $PATH.
[jason@lappy jason]$ rpm -qf /usr/bin/mysql_config mysql-3.23.49-3
-fp