docker容器下安裝mysql8遇到1251錯誤

原因:mysql 8.0 默認使用 caching_sha2_password 身份驗證機制;客戶端不支持新的加密方式。 解決方案: 修改用戶(root)的加密方式 1:docker exec -it mysql bash 2:mysql -u root -p 3:select host,user,plugin,authentication_string from mysql.user; 4:AL
相關文章
相關標籤/搜索