当前位置:网站首页>Connect to LAN MySQL
Connect to LAN MySQL
2022-07-06 17:17:00 【Xiaobai said (๑• ๑)】
Connect to the local area network MySql
I met a little problem today , Make a note of .
describe : Different hosts are connected to a host in the LAN MySql database .
Firewall settings
Because of security issues , You cannot turn off the firewall directly , So you need to set inbound rules .
open : The Internet and Internet Set up ->windows A firewall -> Advanced settings .
Enable two rules , Property is set to any IP Address , LAN internal energy ping through MySql Host IP:
Create a new inbound rule : Sure For any local area network IP Open up a 3306 The port of ( I use mysql Port of service ). Operate in sequence .
thus , The opening of LAN ports has been completed .
MySql Service settings
because MySql Only supported by default localhost Make a local visit , The local IP No access to , So we need to open up MySql jurisdiction .
- Use the client to connect to the local MySql service , open mysql database ;(use mysql)
- Check the corresponding permission IP:SELECT user,host FROM user;
- Find that you need open permission ( user ) The interview of IP updated (%):update user set host=’%’ where user=‘ The logged in user root’
- restart MySql Service or refresh permissions :FLUSH PRIVILEGES
Now you can access the MySql Database !
边栏推荐
- redux使用说明
- vscode
- Wu Jun trilogy insight (IV) everyone's wisdom
- Jetpack compose 1.1 release, based on kotlin's Android UI Toolkit
- 复盘网鼎杯Re-Signal Writeup
- 【逆向】脱壳后修复IAT并关闭ASLR
- Description of project structure configuration of idea
- In the command mode in the VI editor, delete the character usage at the current cursor__ Command.
- "One year after graduation, I won ACL best paper"
- 唯有学C不负众望 TOP2 p1变量
猜你喜欢
复盘网鼎杯Re-Signal Writeup
Take you hand-in-hand to do intensive learning experiments -- knock the level in detail
数据传送指令
8086 CPU 内部结构
Programmer orientation problem solving methodology
汇编语言段定义
The daemon thread starts redis and modifies the configuration file
MySQL字符串函数
Flink 解析(三):内存管理
"One year after graduation, I won ACL best paper"
随机推荐
MySQL string function
8086 CPU 内部结构
唯有学C不负众望 TOP1环境配置
JVM垃圾回收概述
Control transfer instruction
8086 segmentation technology
汇编语言寻址方式
Notes on how the network is connected
Program counter of JVM runtime data area
The "advertising maniacs" in this group of programmers turned Tiktok advertisements into ar games
In the command mode in the VI editor, delete the character usage at the current cursor__ Command.
Flink parsing (VI): savepoints
JVM garbage collector part 1
唯有学C不负众望 TOP3 Demo练习
Programmer orientation problem solving methodology
SQL tuning notes
Activit零零碎碎要人命的坑
Alibaba cloud server docker installation mysql5.5
暑假刷题嗷嗷嗷嗷
汇编语言基础知识