|
|
|
@ -48,8 +48,9 @@ spring:
|
|
|
|
|
name: ruoyi-vue-pro |
|
|
|
|
url: jdbc:mysql://127.0.0.1:3306/${spring.datasource.dynamic.datasource.master.name}?useSSL=false&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=CTT |
|
|
|
|
driver-class-name: com.mysql.jdbc.Driver |
|
|
|
|
username: root |
|
|
|
|
password: cyjj123! |
|
|
|
|
username: zsw_pos |
|
|
|
|
password: T6hImonDpMVR7xr0OfznhL5cShC8xy06RJB3yuZ2CgmUOwWmaVEdZNot6UjBxNRv1Baxar22zw3JJB2Iqzsuog== |
|
|
|
|
publickey: MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAMKlSjVB6Ij9Gg5D8yqJHv3/s3ndCCbZEGtnAkJ9PWvn0yHFEgroSD67IytdvtEJn7WHM2QMUxtPLKHoOtRVYMUCAwEAAQ== |
|
|
|
|
slave: # 模拟从库,可根据自己需要修改 |
|
|
|
|
name: ruoyi-vue-pro |
|
|
|
|
url: jdbc:mysql://127.0.0.1:3306/${spring.datasource.dynamic.datasource.slave.name}?useSSL=false&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=CTT |
|
|
|
|