服务器为centos6.

这个原因是因为防火墙的问题

在mysql服务端执行

service iptables stop 
chkconfig iptables off #永久关闭防火墙 看情况执行

然后在client端

mysql -uroot -proot -hfzk.com

正常登录

相关文章:

  • 2021-11-10
  • 2022-01-20
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-06-22
  • 2022-01-08
  • 2021-06-12
  • 2021-11-03
相关资源
相似解决方案