1. Tomcat启动报错-Public Key Retrieval is not allowed
报错提示
解决: 在后台数据库驱动配置末尾这里添加一个参数配置
//需添加的参数
&allowPublicKeyRetrieval=true
//添加后
url: jdbc:mysql://192.168.190.134:3306/test?rewriteBatchedStatements=true&useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&allowMultiQueries=true&serverTimezone=Asia/Shanghai&nullCatalogMeansCurrent=true&useSSL=false&allowPublicKeyRetrieval=true