应急sql更新代码

master
dongdingding 1 year ago
parent 1afa9e96aa
commit d2a6bf2a43

@ -22,7 +22,7 @@ public class DataSourceConfig {
@Bean(name = "dataSource2") @Bean(name = "dataSource2")
public DataSource dataSource2() { public DataSource dataSource2() {
return DataSourceBuilder.create() return DataSourceBuilder.create()
.url("jdbc:mysql://localhost:3306/ying_ji?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8") .url("jdbc:mysql://192.167.2.56:3306/ying_ji?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8")
.username("root") .username("root")
.password("Jichuang@2023") .password("Jichuang@2023")
.build(); .build();

Loading…
Cancel
Save