解决 Mac OS 下 MySQL 客户端连接 caching_sha2_password 插件加载失败问题
📝
内容提要
背景 在开发我自己的 gofixtures 项目时,项目单测需要用到 MySQL,于是模仿 go-txdb 的方式,使用 docker 在本地起了 MySQL 容器。执行测试时,出现如下错误: mysql: [Warning] Using a password on the command line interface can be insecure. ERROR 2059...
➡️