【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
相关文章
相关标签/搜索