当前位置:网站首页>Remote connection to MySQL under windows and Linux system
Remote connection to MySQL under windows and Linux system
2022-07-02 02:31:00 【Peach blossom key God】
windows Next remote access linux Medium mysql database
The premise that the database wants to be accessed remotely : The accessed database needs to be opened , Allow remote access .
- One 、 The accessed database is opened to allow remote access
First, enter the command to enter the database to be accessed (root User access )

Get into mysql database 
see user Below the table User and Host The contents of the field 
The user name in the above figure is admin Only local links are allowed , take host Change it to % that will do
change user Table with fields Host=‘host’,User='admin’ The data of , take host Change it to %
Update the permissions 
Test the link on the tool ,host For linked ip, Enter the login user's account and password

Test success 
linux Next remote access windows Medium mysql database
The remote access permission to open the database is the same as the above , close windows The firewall of , Or they'll be intercepted .
Enter the following command to connect to the database , -h The back is ip Address 
Then enter the password 
windows Connect windows and linux Connect linux database
The first step is to open the permission first , Then connect directly .
Windows You can use tools to connect ,linux You can only enter commands on the console . The command also says
边栏推荐
- How to solve MySQL master-slave delay problem
- Sword finger offer 31 Stack push in and pop-up sequence
- Use the open source project [banner] to achieve the effect of rotating pictures (with dots)
- The basic steps of using information theory to deal with scientific problems are
- JVM interview
- SAP ui5 beginner tutorial 19 - SAP ui5 data types and complex data binding
- leetcode2310. The one digit number is the sum of integers of K (medium, weekly)
- 【深度学习】infomap 人脸聚类 facecluster
- Open那啥的搭建文档
- Which brand of sports headset is better? Bluetooth headset suitable for sports
猜你喜欢

Query word weight, search word weight calculation

New programmer magazine | Li Penghui talks about open source cloud native message flow system

Pat a-1165 block reversing (25 points)

剑指 Offer 62. 圆圈中最后剩下的数字

How to batch add background and transition effects to videos?

Additional: information desensitization;

leetcode2309. The best English letters with both upper and lower case (simple, weekly)

SAP ui5 beginner tutorial 19 - SAP ui5 data types and complex data binding
![[learn C and fly] 3day Chapter 2 program in C language (exercise 2.3 calculate piecewise functions)](/img/8e/a86a9724251718d98ce172a6a96e53.png)
[learn C and fly] 3day Chapter 2 program in C language (exercise 2.3 calculate piecewise functions)

AR增强现实可应用的场景
随机推荐
Feature query of hypergraph iserver rest Service
2022 low voltage electrician test question simulation test question bank simulation test platform operation
DNS domain name resolution
leetcode2305. Fair distribution of biscuits (medium, weekly, shaped pressure DP)
【无标题】
leetcode2310. The one digit number is the sum of integers of K (medium, weekly)
Iterative unified writing method of binary tree
The middle element and the rightmost element of the shutter
[punch in questions] integrated daily 5-question sharing (phase II)
LFM信号加噪、时频分析、滤波
[learn C and fly] 4day Chapter 2 program in C language (exercise 2.5 generate power table and factorial table
批量检测url是否存在cdn—高准确率
How to solve MySQL master-slave delay problem
附加:信息脱敏;
What is the MySQL column to row function
Query word weight, search word weight calculation
Deployment practice and problem solving of dash application development environment based on jupyter Lab
CoordinatorLayout + TabLayout + ViewPager2(里面再嵌套一个RecyclerView),RecyclerView的滑动冲突解决
实现一个自定义布局的扫码功能
JVM面试篇