From 2bf333cc906ce39c3c0a1442ad48bdec18bc5ac3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E4=B9=85=E5=93=A5?= <787952492@qq.com> Date: Wed, 8 Jun 2022 20:25:04 +0800 Subject: [PATCH] mysql --- yudao-server/src/main/resources/application-prod.yaml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/yudao-server/src/main/resources/application-prod.yaml b/yudao-server/src/main/resources/application-prod.yaml index 8bd2f8e8..3e28228d 100644 --- a/yudao-server/src/main/resources/application-prod.yaml +++ b/yudao-server/src/main/resources/application-prod.yaml @@ -55,14 +55,16 @@ spring: 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 driver-class-name: com.mysql.jdbc.Driver - username: root - password: cyjj123! + username: zsw_pos + password: T6hImonDpMVR7xr0OfznhL5cShC8xy06RJB3yuZ2CgmUOwWmaVEdZNot6UjBxNRv1Baxar22zw3JJB2Iqzsuog== + publickey: MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAMKlSjVB6Ij9Gg5D8yqJHv3/s3ndCCbZEGtnAkJ9PWvn0yHFEgroSD67IytdvtEJn7WHM2QMUxtPLKHoOtRVYMUCAwEAAQ== bxg: # 农场数据源 name: bxg url: jdbc:mysql://127.0.0.1:3306/${spring.datasource.dynamic.datasource.bxg.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== # farm: # 农场数据源 # name: zsw-farm # url: jdbc:mysql://192.168.10.129:3306/${spring.datasource.dynamic.datasource.farm.name}?useSSL=false&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=CTT