From df2e5a49c62f8eeb328b6c5b408fe4633663fd75 Mon Sep 17 00:00:00 2001 From: hui Date: Tue, 19 Nov 2024 18:15:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9E=B6=E6=9E=84=E5=8D=87=E7=BA=A7=E7=AC=AC?= =?UTF-8?q?=E4=B8=80=E6=AD=A5=E5=92=8C=E6=B5=8B=E8=AF=95=E7=8E=AF=E5=A2=83?= =?UTF-8?q?=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/resources/application-dev.properties | 16 ++++++++-------- servers/boe-server-basic/pom.xml | 2 +- .../main/resources/application-dev.properties | 12 ++++++------ .../src/main/resources/application.properties | 2 +- 4 files changed, 16 insertions(+), 16 deletions(-) diff --git a/servers/boe-server-all/src/main/resources/application-dev.properties b/servers/boe-server-all/src/main/resources/application-dev.properties index 4a0a4523..873d5155 100644 --- a/servers/boe-server-all/src/main/resources/application-dev.properties +++ b/servers/boe-server-all/src/main/resources/application-dev.properties @@ -3,24 +3,24 @@ spring.redis.database=1 #spring.redis.host=127.0.0.1 #spring.redis.password=ENC(zA5LNV8xw3yEx6LMwdGGBGgNsOaD3Cg+) #spring.redis.port=6379 -spring.redis.host=124.70.92.162 -spring.redis.password=qwert!W577 +spring.redis.host=192.168.0.101 +spring.redis.password=boe@123 spring.redis.port=6379 # cloud nacos config -spring.cloud.nacos.discovery.server-addr=127.0.0.1:8848 +spring.cloud.nacos.discovery.server-addr=192.168.0.101:8848 ## datasource config -spring.jpa.show-sql = true +spring.jpa.show-sql = true spring.jpa.hibernate.ddl-auto=update spring.datasource.driverClassName=com.mysql.jdbc.Driver # spring.datasource.driverClassName=com.mysql.cj.jdbc.Driver #spring.datasource.url=jdbc:mysql://127.0.0.1:3306/boe_base?useSSL=false&useUnicode=true&characterEncoding=UTF8&zeroDateTimeBehavior=convertToNull #spring.datasource.username=root #spring.datasource.password=ENC(lAoFOYuc8CAypPtigTNLYg==) -spring.datasource.url=jdbc:mysql://10.251.160.40:3306/boe_base?useSSL=false&useUnicode=true&characterEncoding=UTF8&zeroDateTimeBehavior=convertToNull -spring.datasource.username=admin -spring.datasource.password=boeRds01 +spring.datasource.url=jdbc:mysql://192.168.0.101:3306/boe_base?useSSL=false&useUnicode=true&characterEncoding=UTF8&zeroDateTimeBehavior=convertToNull +spring.datasource.username=root +spring.datasource.password=boe#1234A logging.level.org.hibernate.SQL=DEBUG logging.level.org.hibernate.type.descriptor.sql.BasicBinder=TRACE @@ -65,7 +65,7 @@ jasypt.encryptor.algorithm=PBEWithMD5AndDES jasypt.encryptor.iv-generator-classname=org.jasypt.iv.NoIvGenerator # elasticsearch config -xboe.elasticsearch.server.ip=127.0.0.1 +xboe.elasticsearch.server.ip=192.168.0.101 xboe.elasticsearch.server.port=9200 xboe.elasticsearch.server.user= xboe.elasticsearch.server.password= diff --git a/servers/boe-server-basic/pom.xml b/servers/boe-server-basic/pom.xml index cf45d271..cce55208 100644 --- a/servers/boe-server-basic/pom.xml +++ b/servers/boe-server-basic/pom.xml @@ -5,7 +5,7 @@ org.springframework.boot spring-boot-starter-parent - 2.6.3 + 2.6.13 com.xboe diff --git a/servers/boe-server-basic/src/main/resources/application-dev.properties b/servers/boe-server-basic/src/main/resources/application-dev.properties index 76559cb2..52ee6eb6 100644 --- a/servers/boe-server-basic/src/main/resources/application-dev.properties +++ b/servers/boe-server-basic/src/main/resources/application-dev.properties @@ -1,8 +1,8 @@ # redis spring.redis.database=2 spring.redis.port=6379 -spring.redis.host=127.0.0.1 -spring.redis.password=ENC(zA5LNV8xw3yEx6LMwdGGBGgNsOaD3Cg+) +spring.redis.host=192.168.0.101 +spring.redis.password=boe@123 # datasource config @@ -16,18 +16,18 @@ spring.datasource.driverClassName=com.mysql.jdbc.Driver # spring.datasource.driverClassName=com.mysql.cj.jdbc.Driver # 当前数据库 basic 对应的数据库 spring.datasource.db1.driverClassName=com.mysql.jdbc.Driver -spring.datasource.db1.jdbc-url=jdbc:mysql://127.0.0.1:3306/boeu_basic?useSSL=false&useUnicode=true&characterEncoding=UTF8&zeroDateTimeBehavior=convertToNull +spring.datasource.db1.jdbc-url=jdbc:mysql://192.168.0.101:3306/boe_basic?useSSL=false&useUnicode=true&characterEncoding=UTF8&zeroDateTimeBehavior=convertToNull spring.datasource.db1.username=root -spring.datasource.db1.password=ENC(lAoFOYuc8CAypPtigTNLYg==) +spring.datasource.db1.password=boe#1234A # 主数据库 all 对应的数据库 spring.datasource.db2.driverClassName=com.mysql.jdbc.Driver # spring.datasource.driverClassName=com.mysql.cj.jdbc.Driver -spring.datasource.db2.jdbc-url=jdbc:mysql://127.0.0.1:3306/boe_base3?useSSL=false&useUnicode=true&characterEncoding=UTF8&zeroDateTimeBehavior=convertToNull +spring.datasource.db2.jdbc-url=jdbc:mysql://192.168.0.101:3306/boe_base?useSSL=false&useUnicode=true&characterEncoding=UTF8&zeroDateTimeBehavior=convertToNull spring.datasource.db2.username=root -spring.datasource.db2.password=ENC(lAoFOYuc8CAypPtigTNLYg==) +spring.datasource.db2.password=boe#1234A logging.level.org.hibernate.SQL=DEBUG diff --git a/servers/boe-server-basic/src/main/resources/application.properties b/servers/boe-server-basic/src/main/resources/application.properties index b75f5608..c9d1907c 100644 --- a/servers/boe-server-basic/src/main/resources/application.properties +++ b/servers/boe-server-basic/src/main/resources/application.properties @@ -43,7 +43,7 @@ spring.redis.lettuce.shutdown-timeout=100ms # jpa config spring.jpa.database = MYSQL -spring.jpa.show-sql = true +spring.jpa.show-sql = true # spring.jpa.properties.hibernate.cache.use_second_level_cache=true # spring.jpa.properties.hibernate.cache.region.factory_class=org.hibernate.cache.ehcache.EhCacheRegionFactory