Created
May 13, 2019 13:51
-
-
Save younthu/2d9ff1810e9207ff8b94be864753a1e7 to your computer and use it in GitHub Desktop.
无法从docker host连接到mysql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
在mac上刚起mysql docker, 然后安装一个mysql client, 通过 mysql -uroot -p --protocol=tcp连接的时候报错:"connection from ip '172.20.0.2' is not allowed". | |
折腾半天,搞不定。然后重启Mac, 好了! | |
人生就是这样,莫名其妙就坏了,莫名其妙就好了! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment