当前位置:网站首页>阿里云无法远程连接数据库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
- 阿里云安全组策略问题;
经过测试发现,确实防火墙的原因。阿西吧。
边栏推荐
- [QNX Hypervisor 2.2用户手册]10.15 vdev timer8254
- 宝塔Linux环境下redis开启多端口
- Win10远程连接(实现多用户同时连接)
- [Embedded open source library] The use of MultiButton, an easy-to-use event-driven button driver module
- About CC Attacks
- C statement: data storage
- Some common mysql entry exercises
- Redis-数据类型(基本指令、String、List、Set、Hash、ZSet、BitMaps、HyperLogLog、GeoSpatial)/发布和订阅
- [No 2022 Shanghai Security Officer A Certificate Exam Question Bank and Mock Exam
- Kong implements ban on foreign IP access
猜你喜欢
随机推荐
Mysql入门练习
面试题整理
FPGA engineer interview questions collection 121~130
代理模式(简要介绍)
C语句:数据存储
C statement: data storage
Use Adobe genuine software for prostitution to reduce the slow employment and non-employment of fresh graduates
【无2022上海市安全员A证考试题库及模拟考试
Redis详解
分库分表ShardingSphere-JDBC笔记整理
Unity WebGL RuntimeError: integer overflow
Switch and Router Technology-29-OSPF Virtual Link
You must understand - the nine built-in objects and four domain objects of JSP
Idea 2021.3.3版本文件目录展开
prometheus:(二)监控概述(你永远逃不出我的手掌哈哈)
关于ie下href有中文出现RFC 7230 and RFC 3986问题的研究
四大函数式接口
2.2 user manual] [QNX Hypervisor 10.15 vdev timer8254
In the closing pages/uninstall (unload) sends a request to the server before the document
Switches and routers technology - 26 - configure OSPF peripheral area