修改dev配置文件数据库密码

dev-8.1.9
Liyanjun 2023-06-24 17:04:25 +08:00
parent 9d9bdabd9a
commit 0ff3d8eb32
2 changed files with 1 additions and 13 deletions

View File

@ -21,18 +21,6 @@ public class ProjectStartApplication {
public static void main(String[] args) {
SpringApplication.run(ProjectStartApplication.class, args);
log.info(ProjectStartApplication.class.getSimpleName() + " is success!");
// 等上线去掉
while (true) {
try {
Thread.sleep(3000);
} catch (InterruptedException e) {
throw new RuntimeException(e);
}
System.out.println(IdWorker.getId());
}
}
}

View File

@ -4,7 +4,7 @@ spring:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://localhost:3306/guns?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&nullCatalogMeansCurrent=true
username: root
password: 123456
password: root
# 连接池大小根据实际情况调整
max-active: 100