找不到mysql.h怎么办找不到mysql.h的解决办法:1、直接在软件中心输入“libmysqlclient-dev”安装;2、在命令行下输入“sudo apt-get install libmysqlclient-dev”安装即可。本文操作环境:ubuntu16 1