虚拟机
环境 linux Centos mysql
1.在虚拟机(Centos6.5系统)安装MySQL,利用yum命令:
yum -y install mysql-server
2.参考:http://blog.sina.com.cn/s/blog_7058524b01018yxu.html
安装以及配置MySQL,运行MySQL命令
3.MySQL命令要以分号“;”结束,要不然不会执行
4.远程连接MySQL要开权限
参考:http://blog.sina.com.cn/s/blog_7058524b01018yxu.html
5:不行的话可以试一下开防火墙:#iptables -F
参考:http://www.cnblogs.com/blogforly/p/5997553.html