当前位置:网站首页>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 unicast (one server, multiple clients) simulation using OPNET
- 毕业之后才知道的——知网查重原理以及降重举例
- 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
- 拼多多商品详情接口、拼多多商品基本信息、拼多多商品属性接口
- [paper reading] semi supervised left atrium segmentation with mutual consistency training
- 消息队列:重复消息如何处理?
- What is dependency injection (DI)
- Flink SQL 实现读写redis,并动态生成Hset key
- MySQL-CentOS7通过YUM安装MySQL
- SAP ABAP BDC(批量数据通信)-018
猜你喜欢
English语法_名词 - 所有格
SAP webservice 测试出现404 Not found Service cannot be reached
[JS component] date display.
一条 update 语句的生命经历
2pc of distributed transaction solution
Photo selector collectionview
R语言【逻辑控制】【数学运算】
论文阅读【Open-book Video Captioning with Retrieve-Copy-Generate Network】
Getting started with DES encryption
ForkJoin最全详解(从原理设计到使用图解)
随机推荐
Jhok-zbg2 leakage relay
1.AVL树:左右旋-bite
Distributed global ID generation scheme
sql优化常用技巧及理解
拼多多新店如何获取免费流量,需要从哪些环节去优化,才能有效提升店内免费流量
ForkJoin最全详解(从原理设计到使用图解)
“多模态”概念
Message queue: how to handle repeated messages?
Mysql database learning (7) -- a brief introduction to pymysql
Photo selector collectionview
Codeforces Round #416 (Div. 2) D. Vladik and Favorite Game
JVM (19) -- bytecode and class loading (4) -- talk about class loader again
Educational Codeforces Round 22 B. The Golden Age
Cve-2021-3156 vulnerability recurrence notes
Two person game based on bevy game engine and FPGA
Life experience of an update statement
MySQL数据库学习(8) -- mysql 内容补充
Leetcode: maximum number of "balloons"
CentOS 7.9 installing Oracle 21C Adventures
5. Data access - entityframework integration