MySQL 客户端连接

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
 

猜你喜欢

转载自blog.csdn.net/lv842586821/article/details/84308951