当前位置:网站首页>MySQL in window10 version does not work after setting remote access permission
MySQL in window10 version does not work after setting remote access permission
2022-04-23 07:47:00 【Brother Bing】
One 、 background
MySQL The database is installed locally Window10 On the computer , So that all virtual machines can call the same database together . Suddenly found that the virtual machine cannot connect to the local database .
Two 、 Causes of problems and corresponding solutions
1、 Database operation user has not set remote connection permission
- View all users and permissions , Observe whether the user to be connected has access to the Internet 【%】:
SELECT DISTINCT CONCAT('User: ''',user,'''@''',host,''';') AS query FROM mysql.user;
- If the user who needs to connect does not have access to the Internet , You can set... As needed using the following commands
-- newly build MySQL user : create user user name identified by ' The login password '; -- Authorize the specified user to access the specified database : grant all on Database name .* to ' user name '@'%'; -- Delete user authorization drop user " user name "@"%"; -- Delete the specified user : DELETE FROM mysql.user WHERE User=" user name "; -- Refresh the permissions : flush privileges;
2、Window10 The corresponding port is not opened
-
open Window10 Security Center

-
Click on
Firewall and network protection, Click onAdvanced settingsOptions

-
Pop up a new window to select
Inbound rules>New rules
-
Pop up a new window to select
port>next step

-
Fill in the required open port number , Click next :

-
Keep clicking back
next stepbutton , LastnameFill in as you like , Click oncomplete

版权声明
本文为[Brother Bing]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230625585163.html
边栏推荐
- The page displays the current time in real time
- 利用Lambda表达式解决c#文件名排序问题(是100大还是11大的问题)
- Ogldev reading notes
- 大学学习路线规划建议贴
- Use of typescript dictionary
- SampleCameraFilter
- Hot change scheme and dynamic update strategy of mobile game
- C#使用拉依达准则(3σ准则)剔除异常数据(.Net剔除一组数据中的奇异值)
- Rethink | open the girl heart mode of station B and explore the design and implementation of APP skin changing mechanism
- js之排他思想及案例
猜你喜欢

js之什么是事件?事件三要素以及操作元素

Authorization server (simple construction of authorization server)

ABAP CDS VIEW WITH ASSOCIATION示例

SAP SALV14 后台输出SALV数据可直接保存文件,发送Email(带排序、超链接、筛选格式)

Page dynamic display time (upgraded version)

js之DOM学习获取元素

SQL针对字符串型数字进行排序

Dropping Pixels for Adversarial Robustness

Simple random roll call lottery (written under JS)

Custom time format (yyyy-mm-dd HH: mm: SS week x)
随机推荐
斐波拉去动态规划
Ogldev reading notes
ABAP 实现发布RESTful服务供外部调用示例
将单行文字自动适应到目标矩形框内
移动布局(flex布局、视口标签)
3. Sort statement
MySQL8.0 安装/卸载 教程【Window10版】
C#操作注册表全攻略
Dropping Pixels for Adversarial Robustness
数组扁平化
反转链表练习
Install and configure Taobao image NPM (cnpm)
js之作用域、作用域链、全局变量和局部变量
C# 文本文件的查找及替换(WinForm)
Apache Hudi 如何加速传统的批处理模式?
js之函数的两种声明方式
BTREE, B + tree and hash index
Nodejs (II) read files synchronously and asynchronously
定位、修饰样式
踩坑日记:Unable to process Jar entry [module-info.class]