欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

Error querying database. Cause: com.mysql.jdbc.exceptions.MySQLNonTransientConnectionException: Cli

程序员文章站 2024-03-12 21:19:26
...

用eclipse 和mybatis运行时报的错误
是mySQL的配置问题`

Error querying database.  Cause: com.mysql.jdbc.exceptions.MySQLNonTransientConnectionException: Client does not support authentication protocol requested by server; consider upgrading MySQL client

用安装程序重新配置。只需要将MySQL的加密方式改成第二种就可以了
Error querying database. Cause: com.mysql.jdbc.exceptions.MySQLNonTransientConnectionException: Cli
Error querying database. Cause: com.mysql.jdbc.exceptions.MySQLNonTransientConnectionException: Cli
参考来自:https://www.cnblogs.com/iliuqiang/p/9737288.html
侵权即删。