http://www.cnblogs.com/chengmo/archive/2010/10/02/1841355.html
字符替换
sed -i 's/3306/3308/g' my.cnf mysql # 同时替换两个文件