Cause: java.sql.SQLNonTransientConnectionException: CLIENT_PLUGIN_AUTH is required
作者:互联网
报错
org.apache.ibatis.exceptions.PersistenceException:
Error updating database. Cause: java.sql.SQLNonTransientConnectionException: CLIENT_PLUGIN_AUTH is required
Cause: java.sql.SQLNonTransientConnectionException: CLIENT_PLUGIN_AUTH is required
at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:30)
at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:200)
at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:185)
at com.cfl.dao.StudentDaoImpl.insertStu(StudentDaoImpl.java:27)
原因:
mysql-connector-java版本太高,降低版本即可。
标签:java,PLUGIN,DefaultSqlSession,required,ibatis,sql,apache,org 来源: https://www.cnblogs.com/pingfu/p/14367514.html