现象
Mybatis和Spring框架整合过程中报com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Public Key Retrieval is not allowed
解决办法
在连接URL后面添加allowPublicKeyRetrieval=true
Mybatis和Spring框架整合过程中报com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Public Key Retrieval is not allowed
在连接URL后面添加allowPublicKeyRetrieval=true
转载于:https://www.cnblogs.com/liuyishi/p/11429270.html