mysql: use mysql; update user set host='%' where user='root' and host='localhost'; flush privileges; linux: vi /etc/sysconfig/iptables -A INPUT -m state --state NEW -m tcp -p tcp --dport 3306 -j ACCEPT service iptables restart
mysql: use mysql; update user set host='%' where user='root' and host='localhost'; flush privileges; linux: vi /etc/sysconfig/iptables -A INPUT -m state --state NEW -m tcp -p tcp --dport 3306 -j ACCEPT service iptables restart