Mac下的sequel Pro链接数据库时常见错误

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

Connection failed!

Unable to connect to host 127.0.0.1, or the request timed out.

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

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'这个插件,也就是不能对身份验证。

解决方案:

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

2.输入你的新密码,记住这个密码,用于后期链接数据库的登陆使用,选择‘Use legacy password‘。

3.重启mysql服务,使用sequel Pro链接。

二、界面一直loading,

https://sequelpro.com/test-builds, 升级版本sequelpro,先使用测试版

https://github.com/sequelpro/sequelpro/issues/2699 报错原因。 mysql8.0升级后造成的

 

  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值