健康一贴灵,专注医药行业管理信息化

ECLIPSE 不能连接MYSQL 8 的现象

连接mysql 出现:java.sql.SQLException: Unable to load authentication plugin 'caching_sha2_password'.

 

mysql 8 之后的密码默认方式 为caching_sha2_password

如果有ECLIPSE 不能连接MYSQL 8 的现象,可以将密码规则改为以前的:mysql_native_password

alter user 'root'@'localhost' IDENTIFIED WITH mysql_native_password by 'L
ingrui@123';

posted @ 2019-03-15 16:55  一贴灵  阅读(727)  评论(0编辑  收藏  举报
学以致用,效率第一