在fedaro环境下编译mysql文件的时候,报错:error:no such file of directory,原因是需要安装mysql开发包。使用命令 yum install mysql_devel 。然后编译通过。