当前位置:网站首页>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 .
边栏推荐
- Design, configuration and points for attention of network specified source multicast (SSM) simulation using OPNET
- "Multimodal" concept
- 得物客服一站式工作台卡顿优化之路
- MySQL数据库学习(7) -- pymysql简单介绍
- How to get free traffic in pinduoduo new store and what links need to be optimized in order to effectively improve the free traffic in the store
- Digital innovation driven guide
- Taobao store release API interface (New), Taobao oauth2.0 store commodity API interface, Taobao commodity release API interface, Taobao commodity launch API interface, a complete set of launch store i
- ForkJoin最全详解(从原理设计到使用图解)
- 1. AVL tree: left-right rotation -bite
- Nodejs get client IP
猜你喜欢
English grammar_ Noun possessive
Pinduoduo product details interface, pinduoduo product basic information, pinduoduo product attribute interface
Leakage relay llj-100fs
Use, configuration and points for attention of network layer protocol (taking QoS as an example) when using OPNET for network simulation
Lombok plug-in
Zero sequence aperture of leakage relay jolx-gs62 Φ one hundred
4. Object mapping Mapster
Dj-zbs2 leakage relay
Use Zhiyun reader to translate statistical genetics books
随机生成session_id
随机推荐
Lombok插件
SQL query: subtract the previous row from the next row and make corresponding calculations
Hcip eighth operation
Paper reading [open book video captioning with retrieve copy generate network]
【Shell】清理nohup.out文件
分布式事务解决方案之TCC
Mybaits之多表查询(联合查询、嵌套查询)
【oracle】简单的日期时间的格式化与排序问题
5. 数据访问 - EntityFramework集成
拼多多商品详情接口、拼多多商品基本信息、拼多多商品属性接口
Zero sequence aperture of leakage relay jolx-gs62 Φ one hundred
Preliminary practice of niuke.com (9)
JD commodity details page API interface, JD commodity sales API interface, JD commodity list API interface, JD app details API interface, JD details API interface, JD SKU information interface
LabVIEW is opening a new reference, indicating that the memory is full
Use Zhiyun reader to translate statistical genetics books
常用消息队列有哪些?
[论文阅读] Semi-supervised Left Atrium Segmentation with Mutual Consistency Training
sql查询:将下一行减去上一行,并做相应的计算
Batch size setting skills
Introduction to distributed transactions