当前位置:网站首页>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 settings
Options
-
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 step
button , Lastname
Fill in as you like , Click oncomplete
版权声明
本文为[Brother Bing]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230625585163.html
边栏推荐
猜你喜欢
SAP RFC_CVI_EI_INBOUND_MAIN BP主数据创建示例(仅演示客户)
ABAP CDS VIEW WITH ASSOCIATION示例
Ogldev reading notes
Page dynamic display time (upgraded version)
SAP SALV14 后台输出SALV数据可直接保存文件,发送Email(带排序、超链接、筛选格式)
SAP ECC连接SAP PI系统配置
Implementation of MySQL persistence
js之排他思想及案例
The page displays the current time in real time
SAP Excel 已完成文件级验证和修复。此工作簿的某些部分可能已被修复或丢弃。
随机推荐
SAP PI/PO rfc2RESTful 发布rfc接口为RESTful示例(Proxy间接法)
12. Constraints
'NPM' is not an internal or external command, nor is it a runnable program or batch file
How to judge whether a point is within a polygon (including complex polygons or a large number of polygons)
将指定路径下的所有SVG文件导出成PNG等格式的图片(缩略图或原图大小)
Date object (JS built-in object)
Authorization+Token+JWT
C reads the registry
Nodejs (four) character reading
Game assisted script development journey
js之节点操作,为什么要学习节点操作
取得所有点列表中的最大值GetMaxPoint
Configure NPM
SQL针对字符串型数字进行排序
保研准备经验贴——18届(2021年)中南计科推免到浙大工院
Dropping Pixels for Adversarial Robustness
url转成对象
C# SmoothProgressBar自定义进度条控件
Preliminary configuration of OpenGL super Dictionary (freeglut, glew, gltools, GLUT)
Implementation of MySQL persistence