【mybatis】Client does not support authentication protocol requested by server

Client does not support authentication protocol requested by server

有没有一种可能,你的mysql客户端是8.0的,而你在maven 依赖中的mysql-connector-java是5.x.x版本?我改成8.x.x版本后这个问题解决了。

你可能感兴趣的:(mybatis,java,mysql)