連接Docker容器的mysql出現:ERROR 2059 (HY000): Authentication plugin 'caching_sha2_password' cannot be loade

1.報錯描述 使用navicat連接工具,連接報錯如下: 2.報錯原因說明 由於新版本的MySQL新特性導致的,通過查詢mysql mysql> select Host,User,plugin from mysql.user; 查詢結果如上,在老版本里,一般使用加密方式爲mysql_native_password,因爲認證方式改變導致的。 3.解決方案 1.進入容器 docker exec -it
相關文章
相關標籤/搜索