当前位置:网站首页>阿里云无法远程连接数据库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
- 阿里云安全组策略问题;
经过测试发现,确实防火墙的原因。阿西吧。
边栏推荐
猜你喜欢
Delphi7学习记录-demo实例
Oracle中如何用一个表的数据更新另一个表中的数据_转载
Sub-database sub-table ShardingSphere-JDBC notes arrangement
Thymeleaf
IP-Guard如何禁止运行U盘程序
MySQL must know and must know (primary articles)
四大函数式接口
Optimization is a kind of habit low starting point is the "standing near the critical"
Switches and routers technology - 26 - configure OSPF peripheral area
Zabbix builds enterprise-level monitoring and alarm platform
随机推荐
02.折叠隐藏文字
ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: '/data/xxxx
BitLocker的解密
[Embedded open source library] The use of MultiButton, an easy-to-use event-driven button driver module
2021 Network Planning Designer Afternoon Case Questions
2022 coal mine gas inspection test, simulation test question and answer
智能指针笔记
nodes服务器
Core Data 多线程设计
[No 2022 Shanghai Security Officer A Certificate Exam Question Bank and Mock Exam
Paper Notes: Bag of Tricks for Long-Tailed Visual Recognition with Deep Convolutional Neural Networks
【无2022上海市安全员A证考试题库及模拟考试
C Language: Practical Debugging Tips
【嵌入式开源库】MultiTimer 的使用,一款可无限扩展的软件定时器
Use Adobe genuine software for prostitution to reduce the slow employment and non-employment of fresh graduates
报表控件Stimulsoft报告中的数据矩阵条形码介绍
You must understand - the nine built-in objects and four domain objects of JSP
Switch and Router Technology-34-Dynamic NAT
IDEA使用记录
Weekly recommended short video: your commonly used Polaroid, its predecessor turned out to be like this!