mirror of https://gitee.com/stylefeng/guns
修改dev配置文件数据库密码
parent
9d9bdabd9a
commit
0ff3d8eb32
|
@ -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());
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue