1.参考: http://www.cnblogs.com/codedevelop/p/6762555.html grant all privileges on *.* to 'root'@'hostname' identified by 'mysql密码' with grant option; 2.配置静态IP [root@server1 ~]#vi /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0HWADDR=08:00:27:BA:1…