diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 211d463..13f60f5 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -6,7 +6,7 @@ server.port = 6810 #spring.datasource.password = 123456 #spring.datasource.driverClassName = org.postgresql.Driver -spring.datasource.url = jdbc:mysql://118.24.27.47:3306/data_model?useSSL=false&useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai +spring.datasource.url = jdbc:mysql://118.24.27.47:3306/data_model?useSSL=false&useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true spring.datasource.userName = sxy spring.datasource.password = sxy123 spring.datasource.driverClassName = com.mysql.cj.jdbc.Driver