laravel sail环境装好后无法用 sequel pro 连接 mysql
出现以下错误:
Authentication plugin ‘caching_sha2_password’ cannot be loaded: dlopen(/usr/local/lib/plugin/caching_sha2_password.so, 2): image not found
查找后,我也尝试过改密码,进入mysql容器,用了改密码的sql语句出现:
ERROR 1227 (42000): Access denied; you need (at least one of) the CREATE USER privilege(s) for this operation
用phpstorm直接连host填:localhost就可以连上
但用sequel pro这查看mysql的软件,host设置成localhost就会自动转成127.0.0.1
请指点下方向。