【MySQL8.0鏈接報錯】Authentication plugin 'caching_sha2_password' cannot be loaded

【緣由分析】:MySQL8.0採用了新的加密驗證機制,身份驗證插件從原來的mysql_native_password修改成caching_sha2_passwordhtml 【解決方案】:執行以下sql語句將root用戶的身份驗證插件修改成:caching_sha2_passwordmysql ALTER USER 'root'@'localhost' IDENTIFIED WITH cachin
相關文章
相關標籤/搜索