当前位置:网站首页>Use Navicat to connect to MySQL database through SSH channel (pro test is feasible)
Use Navicat to connect to MySQL database through SSH channel (pro test is feasible)
2022-07-25 20:40:00 【Full stack programmer webmaster】
Hello everyone , I meet you again , I'm the king of the whole stack .
Try it a few days ago SSH Channel for remote data Library Links , A lot of detours , Later, after groping and consulting , Finally, the connection is successful . Now share with you !
First , You have to have one Navicat, That goes without saying
The second step , open Navicat Click the connect button . This is not the picture above , Go directly to the following page to fill in the information , Name the connection casually
The third step : Click on the above SSH Channel button , The following page is displayed
stay SSH The hostname under the channel or IP Fill in the address of the remote server in the address bar IP; Pay attention , The key is coming. , The user name here is the user name of the remote server , such as root, The password is the password of the remote server . Do not click connection test at this step , Or ignore the connection test results
Step four : Go back to the regular page , Fill in the user name and password in the general page , This is also an important point , Pay attention , At this time, the user name is filled in the user name on the remote server database , The password is the remote server database password , Be sure to pay attention to , Be sure to pay attention to .
summary : In fact, it is important to understand ,ssh The purpose of the channel is to connect to the server , The regular rule is to connect to the server-side database 1)ssh The purpose of the channel is to connect to the server . You need the account and password of the server ! The account and password of the server !
2) The general rule is to connect to the database . The account and password of the database are required , Account password of database
Add :navicat and connection is being used
Because I used to use remote address , Database user name and password direct connection , Directly edited on this link , So every save will succeed , But wrong reporting navicat and connection is being used
1、 Edit on a saved connection , Test connection successful , But clicking on the connection will always prompt connection is being used 2、 You need to create a new connection , Can be used , You can't modify the saved above
Publisher : Full stack programmer stack length , Reprint please indicate the source :https://javaforall.cn/111557.html Link to the original text :https://javaforall.cn
边栏推荐
- Leetcode-6129: number of all 0 subarrays
- Character function and string function (2)
- [today in history] June 29: SGI and MIPS merged; Microsoft acquires PowerPoint developer; News corporation sells MySpace
- matlab----EEGLab查看脑电信号
- 2022.7.24-----leetcode.1184
- [onnx] export pytorch model to onnx format: support multi parameter and dynamic input
- Google guava is just a brother. What is the real king of caching? (glory Collection Edition)
- [advanced mathematics] [3] Application of differential mean value theorem and derivative
- [advanced mathematics] [4] indefinite integral
- Question and answer 47: geeks have an appointment - the current monitoring system construction of CSC
猜你喜欢

JMeter - interface test

Character function and string function (2)

Leetcode-155: minimum stack

毕业从事弱电3个月,我为什么会选择转行网络工程师

雷达水位计的工作原理及安装维护注意事项

Leetcode-6127: number of high-quality pairs

Solution to oom exceptions caused by improper use of multithreading in production environment (supreme Collection Edition)

Brush questions with binary tree (4)

【ONNX】pytorch模型导出成ONNX格式:支持多参数与动态输入

Leetcode-6129: number of all 0 subarrays
随机推荐
Online random coin tossing positive and negative statistical tool
Leetcode-6125: equal row and column pairs
程序的编译和运行
MySQL inserts three tables with different values. The association condition is the primary foreign key. How about the syntax of the insertion statement?
[today in history] July 5: the mother of Google was born; Two Turing Award pioneers born on the same day
[advanced mathematics] [4] indefinite integral
Proxy implements MySQL read / write separation
文件操作详解
[advanced mathematics] [3] Application of differential mean value theorem and derivative
Leetcode-114: expand binary tree into linked list
[today in history] June 29: SGI and MIPS merged; Microsoft acquires PowerPoint developer; News corporation sells MySpace
[today in history] July 7: release of C; Chrome OS came out; "Legend of swordsman" issued
Leetcode-6126: designing a food scoring system
RF, gbdt, xgboost feature selection methods "recommended collection"
matlab----EEGLab查看脑电信号
What is cluster analysis? Categories of cluster analysis methods [easy to understand]
Vulnhub | dc: 6 | [actual combat]
DIY personal server (DIY storage server)
[MCU] 51 MCU burning those things
【NOI模拟赛】字符串匹配(后缀自动机SAM,莫队,分块)