|
|
|
@ -22,7 +22,7 @@ public class DataSourceConfig {
|
|
|
|
|
@Bean(name = "dataSource2")
|
|
|
|
|
public DataSource dataSource2() {
|
|
|
|
|
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")
|
|
|
|
|
.password("Jichuang@2023")
|
|
|
|
|
.build();
|
|
|
|
|