相关步骤:https://dev.mysql.com/doc/refman/5.7/en/installing-source-distribution.html
http://database.51cto.com/art/201304/388452.htm
查看端口占用情况:netstat -an |grep :3306
lsof -i :3306
修改默认引擎 http://blog.csdn.net/jason_asia/article/details/7199319
修改默认字符集 http://database.51cto.com/art/201010/229167.htm
开机启动 chkconfig --add mysql
chkconfig mysql on
环境变量 vi /etc/profile
在末尾加上 export PATH=$PATH:/usr/local/MySQL/bin就OK
然后$ source /etc/profile
首次设置密码 mysqladmin -uroot password *****(你的密码)