当前位置:网站首页>SQLSTATE[HY000][1130] Host ‘host. docker. internal‘ is not allowed to connect to this MySQL server
SQLSTATE[HY000][1130] Host ‘host. docker. internal‘ is not allowed to connect to this MySQL server
2022-07-07 05:42:00 【"Drink and sing low"】
The error report is as follows :

** The reasons causing :** Due to the construction docker Environmental Science , Put the project in docker Inside the environment , And host mysql Isolated
So when docker Project access mysql when , The nature of the visit is : LAN access
Solution : mysql LAN access ,
Need to change its own library user Table fields User by root Of host field value
The process is as follows :
One 、Navicat operation 

Two 、 Refresh mysql jurisdiction :
After making a permission change to the user , Be sure to reload the permissions , Write permission information from memory to database .

边栏推荐
- sql查询:将下一行减去上一行,并做相应的计算
- 消息队列:如何确保消息不会丢失
- AI face editor makes Lena smile
- Realize GDB remote debugging function between different network segments
- English grammar_ Noun possessive
- TabLayout修改自定义的Tab标题不生效问题
- Mybaits之多表查询(联合查询、嵌套查询)
- Preliminary practice of niuke.com (9)
- Use, configuration and points for attention of network layer protocol (taking QoS as an example) when using OPNET for network simulation
- Go 语言的 Context 详解
猜你喜欢

Intelligent annotation scheme of entity recognition based on hugging Face Pre training model: generate doccano request JSON format

Jhok-zbl1 leakage relay

ssm框架的简单案例

sql优化常用技巧及理解

《HarmonyOS实战—入门到开发,浅析原子化服务》
上海字节面试问题及薪资福利

SAP webservice 测试出现404 Not found Service cannot be reached

随机生成session_id

4. Object mapping Mapster

CentOS 7.9 installing Oracle 21C Adventures
随机推荐
分布式事务解决方案之TCC
Egr-20uscm ground fault relay
Differences and introduction of cluster, distributed and microservice
How digitalization affects workflow automation
Design, configuration and points for attention of network specified source multicast (SSM) simulation using OPNET
消息队列:如何确保消息不会丢失
Unity keeps the camera behind and above the player
三级菜单数据实现,实现嵌套三级菜单数据
Reading the paper [sensor enlarged egocentric video captioning with dynamic modal attention]
京东商品详情页API接口、京东商品销量API接口、京东商品列表API接口、京东APP详情API接口、京东详情API接口,京东SKU信息接口
ForkJoin最全详解(从原理设计到使用图解)
Mybaits multi table query (joint query, nested query)
微信小程序蓝牙连接硬件设备并进行通讯,小程序蓝牙因距离异常断开自动重连,js实现crc校验位
Mybaits之多表查询(联合查询、嵌套查询)
High voltage leakage relay bld-20
爬虫练习题(三)
AI face editor makes Lena smile
随机生成session_id
删除文件时提示‘源文件名长度大于系统支持的长度’无法删除解决办法
架构设计的五个核心要素