使用Mac下的sequel Pro链接数据库时提示错误(已解决)

使用Mac下的sequel Pro链接数据库时,出现如下问题:

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

问题描述:就是在链接数据库时不能加载‘caching_sha2_password'这个插件,也就是不能对身份验证。

解决方案:

打开系统偏好设置,找到mysql,点击Initialize Database。

输入你的新密码,记住这个密码,用于后期链接数据库的登陆使用。

选择‘Use legacy password‘。

重启mysql服务。

使用sequel Pro链接

 

 

posted @ 2019-04-19 17:04  small_lei_it  阅读(1145)  评论(0编辑  收藏  举报