当前位置:网站首页>阿里云无法远程连接数据库MySQL错误码10060解决办法_转载
阿里云无法远程连接数据库MySQL错误码10060解决办法_转载
2022-08-11 05:12:00 【小匠石钧知】
使用图形界面管理工具Navicat for MySQL连接Mysql数据库时提示错误:Can’t connect to MySQL server (10060)

导致些问题可能有以下几个原因:
- 网络不通; //ping 测试
- 服务未启动;
/etc/init.d/mysqld start
或者
systemctl start mysqld
- MySQL配置不容许远程访问,
user mysql;
select user,host from user;
grant all privileges on *.* to 'root'@'%' identified by '你的密码' with grant option;
FLUSH PRIVILEGES;
- 防火墙端口未开放;
# netstat -tunlp |grep 3306
systemctl status firewalld #查看firewall状态
systemctl stop firewalld #停止firewall
- 阿里云安全组策略问题;
经过测试发现,确实防火墙的原因。阿西吧。
边栏推荐
猜你喜欢
随机推荐
BitLocker的解密
MySQL存储引擎概念
分库分表之sharding-proxy
Application layer protocol - DNS
让你代码越来越高大上的技巧——代码规范,你得知道
Internet Protocol 1
【电商运营】社交媒体营销策略该如何制定?
redis集群模式--解决redis单点故障
【无标题】2022年胺基化工艺考试题模拟考试题库及在线模拟考试
You must understand - the nine built-in objects and four domain objects of JSP
代码在线审查(添加网页批注)的实现
Switch and Router Technology-33-Static NAT
In the closing pages/uninstall (unload) sends a request to the server before the document
@Resource和@Autowired的区别
The use of async (asynchronous) and await
2.2 user manual] [QNX Hypervisor 10.15 vdev timer8254
3 Module 2: Use of scientific research tools
你务必得明白——JSP的九大内置对象与四大域对象
How IP-Guard prohibits running U disk programs
Optimization is a kind of habit low starting point is the "standing near the critical"









