当前位置:网站首页>阿里云无法远程连接数据库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
- 阿里云安全组策略问题;
经过测试发现,确实防火墙的原因。阿西吧。
边栏推荐
- You must understand - the nine built-in objects and four domain objects of JSP
- Network Skill Tree
- 普林斯顿微积分读本05第四章--求解多项式的极限问题
- 元宇宙社交应用,靠什么吸引用户「为爱发电」?
- nodes服务器
- Smart Pointer Notes
- IDEA使用记录
- Paper Notes: Bag of Tricks for Long-Tailed Visual Recognition with Deep Convolutional Neural Networks
- Mysql入门练习
- Sub-database sub-table ShardingSphere-JDBC notes arrangement
猜你喜欢

Unity WebGL RuntimeError: integer overflow

Idea essential skills to improve work efficiency

Network Skill Tree

C语言:实用调试技巧

Core Data 多线程设计

Paper Notes: Bag of Tricks for Long-Tailed Visual Recognition with Deep Convolutional Neural Networks

Configure checkstyle in IDEA

【嵌入式开源库】MultiTimer 的使用,一款可无限扩展的软件定时器

Four functional interfaces

Idea 2021.3.3版本文件目录展开
随机推荐
BGP Comprehensive Experiment
form form submission database Chinese becomes a question mark
玩转mysql之查看mysql版本号
分库分表之sharding-proxy
MFC Interprocess Communication (Shared Memory)
guava RateLimiter uniform current limit
Redis-数据类型(基本指令、String、List、Set、Hash、ZSet、BitMaps、HyperLogLog、GeoSpatial)/发布和订阅
用白嫖的Adobe正版软件,减少应届毕业生的慢就业、不就业等现象
HAVE FUN | “SOFA 星球”飞船计划、源码解析活动最新进展
K8s Review Notes 7--K8S Implementation of Redis Standalone and Redis-cluster
C语言题解:谁是凶手!
MySQL数据库管理
Thymeleaf
面试题整理
Paper Notes: Bag of Tricks for Long-Tailed Visual Recognition with Deep Convolutional Neural Networks
4 模块三:文献阅读与研究方法
[Embedded open source library] The use of cJSON, an efficient and streamlined json parsing library
C language antithesis: who is the murderer!
MySQL事务的概念
IDEA中配置checkstyle