参照 http://www.cnblogs.com/xiaoluo501395377/archive/2013/04/07/3003278.html 安装 sudo yum install mysql mysql-server mysql-devel 启动 sudo service mysqld start 增加用户权限 grant all privileges on *.* to root@'192.168.6.%';