解决办法:

yum install mysql-devel