摘要: centos默认是关闭了3306端口的,外网通过3306端口不能访问数据库,这时需呀打开3306端口1.打开端口: /sbin/iptables -I INPUT -p tcp --dport 3306 -j ACCEPT2.我们需要保存我们的操作,命令如下: /etc/rc.d/init.d/ip... 阅读全文
posted @ 2015-07-27 23:26 耗子搞IT 阅读(1313) 评论(0) 推荐(0) 编辑