当前位置:网站首页>Can‘t connect to server on ‘IP‘ (60)
Can‘t connect to server on ‘IP‘ (60)
2022-07-28 08:33:00 【No amboo】
Environmental Science :
In the development process , Although the problem is the same , But the environment may be different , So sometimes , When searching for answers, a certain solution works for some people and doesn't work for others . So when solving problems , I describe my environment :
Tencent cloud +mySql5.7+Navicat 16.0.14
explain :
Installed in Tencent cloud mysql after , Use Navicat Prompt when connecting Can't connect to server on. The troubleshooting idea of this problem is as follows :
1、 Whether the server starts
2、MySQL Whether to start
3、 Whether the firewall is on
If 1 and 2 Under the condition of normal startup , Basically, it can be determined that the problem is the firewall .
If it is a firewall problem , Then it needs to be released in the firewall 3306 port . The solution is as follows
The pagoda panel I use , The installation instructions of the official website are as follows :
Pagoda website
After installation, enter the panel control page in the browser according to the prompt .
After following the above steps , In use Navicat Connection will not appear Can't connect to server on . It means that the server is now connected .
If you think the article will end here , Then you're naive , The solution of one problem is for the emergence of the next problem .
My next problem is
1045 - Access denied for user 'root'@'114.86.185.210' (using password: YES)

The solution is as follows
1、 Enter the following command in the terminal of the server
sudo mysql -u root -p
2、 to root Users grant permissions , And let all ip Can be connected .
grant all privileges on *.* to 'root'@'%' identified by 'root1234';
explain :root1234 Is your connection password , You can modify it according to your own situation .
3、 Refresh the permissions
flush privileges;
4、 sign out mysql
exit;
5、 Reuse Navicat Connect , It appears below, which makes people blush , The picture of rapid heartbeat .
So far, this article is about to end , I wish you success !
边栏推荐
- Solve the inherent defects of CNN! Common CNN architecture ccnn is coming | icml2022
- Fxksmdb.exe process description
- CarSim simulation quick start (10) - Modeling of braking system
- js卡片层叠样式的图片切换js特效
- Use of namespaces
- [Qt5] small software with 5 people randomly selected from the bid evaluation expert base
- Prescan quick start to master the track editing path of Lecture 16
- Spiral matrix
- c语言中函数的介绍(血书20000字!!!!)
- What if the task manager is not fully displayed?
猜你喜欢

A group of South University students rely on science and technology to go to sea, with an annual income of 1billion

2022 Niuke multi school second problem solving Report

【OpenCV】生成透明的PNG图像

五张图看懂EMI电磁干扰的传播过程-方波陡峭程度对高频成分的影响,时序到频域频谱图形,波形形状对EMI辐射的影响。

Chairman tree review

Melt cloud x chat, create a "stress free social" habitat with sound

2022牛客多校第二场解题报告

uniapp---- 获取当前位置的经纬度等信息的详细步骤(包含小程序)

See how Google uses pre training weights in target detection tasks | CVPR 2022
![[pyqt] pyqt development experience_ How to find events and methods of controls](/img/40/7597d6413c88793e22276325d5f602.png)
[pyqt] pyqt development experience_ How to find events and methods of controls
随机推荐
sparksql 与flinksql 建表 与 连表记录
Record a MYCAT connection and solve the problems of communications link failure
Redis of non relational database [jedis client +jedis connection cluster]
CarSim simulation quick start (XIII) - steering system
C#,入门教程——程序运行时的调试技巧与逻辑错误探针技术与源代码
In QT multithreading, in which thread does the slot function perform analysis
Brief introduction to ThreadLocal class
[Qt5] QT small software release
Openstack dashboard configuring public network access
Lecture notes a utility for everyone to generate PCG
Unity中队列(Queue)的简单使用
EMC EMI磁珠的特性
GBase 8s是否支持存储关系型数据和对象型数据?
Mysql-怎么添加用户和设置权限?
2022牛客多校第二场解题报告
业务数字化飞速奔跑,管理数字化亟待出发
How to write a JMeter script common to the test team
js糖果消消乐小游戏源码
File editing component
Half bridge buck circuit - record