fix: 移除MessageDto中未使用的JPA注解并更新数据库配置
移除MessageDto中未使用的JPA注解以简化代码结构 在数据库连接URL中添加allowPublicKeyRetrieval参数以解决连接问题 清理过期的日志文件
This commit is contained in:
2181
logs/web_project.log
2181
logs/web_project.log
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
logs/web_project.log.2025-10-16.0.gz
Normal file
BIN
logs/web_project.log.2025-10-16.0.gz
Normal file
Binary file not shown.
@@ -1,6 +1,5 @@
|
||||
package com.qf.myafterprojecy.pojo.dto;
|
||||
|
||||
import javax.persistence.*;
|
||||
import java.util.Date;
|
||||
|
||||
public class MessageDto {
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user