链接mysql数据库 Navicat,2003-can't connect to MYSQL server on192.168.1.122 (10060)

可能的原因如下:

一.关闭防火墙;

1、firewalld的基本使用

启动: systemctl start firewalld

关闭: systemctl stop firewalld

查看状态: systemctl status firewalld 

开机禁用  : systemctl disable firewalld

开机启用  : systemctl enable firewalld

 

二。添加一个安全组规则

    端口范围:腾讯云、阿里云等(TCP:3306),授权对象:0.0.0.0/0,其他默认就行

    链接mysql数据库 Navicat,2003-can't connect to MYSQL server on192.168.1.122 (10060)

 

三。如果 链接  如果提示:1130-host'111. 201.124. is not allowed to connect to this MYSQL server

链接mysql数据库 Navicat,2003-can't connect to MYSQL server on192.168.1.122 (10060)

https://blog.csdn.net/wsyzxss/article/details/90750531

相关文章:

  • 2021-10-16
  • 2021-09-09
  • 2021-05-15
  • 2021-09-11
  • 2022-12-23
  • 2022-03-06
猜你喜欢
  • 2022-12-23
  • 2021-08-17
  • 2022-12-23
  • 2022-02-09
  • 2021-04-15
  • 2021-11-02
相关资源
相似解决方案