Mysql:
1. 远程连接Mysql
Mysql 默认不允许远程连接
localhost:
grant all on *.* to root@"192.168.1.101" identified by "";
Remotehost:
mysql -h hostname -uroot -p
2. /usr/bin/mysqld_safe
3. iptables -A INPUT -i eth0 -p tcp --sport 3306 -j ACCEPT
4. tcpdump -i eth0 host hostname and port portnum
5. ubuntu 防火墙
ufw disable
阅读(617) | 评论(0) | 转发(0) |