Mysql with Homebrew - 无法加载身份验证插件“caching_sha2_password”:

LeB*_*eau 5 mysql installation homebrew

刚刚用 homebrew 安装了新版本的 mysql。我收到以下错误。

无法连接主机127.0.0.1,或者请求超时。

Be sure that the address is correct and that you have the necessary privileges, or try increasing the connection timeout (currently 50 seconds).

MySQL said: Authentication plugin 'caching_sha2_password' cannot be loaded: dlopen(/usr/local/lib/plugin/caching_sha2_password.so, 2): image not found
Run Code Online (Sandbox Code Playgroud)

我确实尝试过跑步

mysql_secure_installation
Run Code Online (Sandbox Code Playgroud)

但我得到了同样的错误。