mysql 報錯Authentication method 'caching_sha2_password' is not supported.

原因:mysql版本身份驗證引起的, 官網解釋:https://dev.mysql.com/doc/refman/8.0/en/caching-sha2-pluggable-authentication.html 解決方法: 1.查詢mysql數據庫中user表plugin列的值,是否如下 如果不同請如下操作:        1.1:ALTER USER 'root'@'localhost' ID
相關文章
相關標籤/搜索