先检查系统中是否已经安装了mysql
如果有请卸载
下载mysql源代码包
http://www.mysql.com/downloads/
编译参考文档
http://dev.mysql.com/doc/refman/5.6/en/source-configuration-options.html
linux下编译安装mysql
原文:http://www.cnblogs.com/ggjjl1/p/4148940.html