fix: 移除MessageDto中未使用的JPA注解并更新数据库配置

移除MessageDto中未使用的JPA注解以简化代码结构
在数据库连接URL中添加allowPublicKeyRetrieval参数以解决连接问题
清理过期的日志文件
This commit is contained in:
qingfeng1121
2025-10-20 12:00:07 +08:00
parent effcc3838d
commit 848b13506c
7 changed files with 965 additions and 1219 deletions

View File

@@ -3,7 +3,7 @@ server.port=8080
spring.application.name=web_project
# 数据库配置
spring.datasource.url=jdbc:mysql://localhost:3306/webproject?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai&createDatabaseIfNotExist=true
spring.datasource.url=jdbc:mysql://localhost:3306/webproject?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai&createDatabaseIfNotExist=true&allowPublicKeyRetrieval=true
spring.datasource.username=root
spring.datasource.password=123456
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver