在mysql 中创建了用户之后不能远程访问! 用户的host是“%”,求高手解答!
+------+-----------------------+
| user | host |
+------+-----------------------+
| root | % |
| tom | % |
| root | 127.0.0.1 |
| root | localhost |
| root | localhost.localdomain |
+------+-----------------------+
+------+-----------------------+
| user | host |
+------+-----------------------+
| root | % |
| tom | % |
| root | 127.0.0.1 |
| root | localhost |
| root | localhost.localdomain |
+------+-----------------------+
[收集]mysql 无法联接故障现象及原因
是看主机的3306端口 是否开放?如果关闭防火墙的话,在iptables中配置下3306端口 也是可以的