当前位置:网站首页>阿里云无法远程连接数据库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
- 阿里云安全组策略问题;
经过测试发现,确实防火墙的原因。阿西吧。
边栏推荐
猜你喜欢

C statement: data storage

【电商运营】社交媒体营销策略该如何制定?

四大函数式接口

C language antithesis: who is the murderer!

Switch and Router Technology - 36-Port Mirroring

3 Module 2: Use of scientific research tools

Switches and routers technology - 26 - configure OSPF peripheral area

form form submission database Chinese becomes a question mark

Linux中安装redis

The use of async (asynchronous) and await
随机推荐
MySQL must know and must know (primary articles)
Oracle中如何用一个表的数据更新另一个表中的数据_转载
Sub-database sub-table ShardingSphere-JDBC notes arrangement
【嵌入式开源库】MultiTimer 的使用,一款可无限扩展的软件定时器
[QNX Hypervisor 2.2用户手册]10.16 vdev virtio-blk
2021年网络规划设计师下午案例题
Switch and Router Technology - 32 - Named ACL
ESP8266 教程3 — 通过TCP组建局域网并通信
FPGA engineer interview questions collection 121~130
Kong implements ban on foreign IP access
Unity WebGL RuntimeError: integer overflow
你务必得明白——JSP的九大内置对象与四大域对象
C statement: data storage
2022 coal mine gas inspection test, simulation test question and answer
shell 脚本编程---入门
Thymeleaf
Switch and Router Technology - 25 - OSPF Multi-Area Configuration
MyEclipse数据库工具使用教程:使用驱动程序
4 Module 3: Literature Reading and Research Methods
4 模块三:文献阅读与研究方法