From 09e770351c9c34e6dfb85386a307ccc2d9e03428 Mon Sep 17 00:00:00 2001 From: Boolean Date: Mon, 12 Jun 2023 22:35:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=BA=93=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 48 +++++++++++++++++++ .../main/resources/application-dev.properties | 10 ++-- .../main/resources/application-dev.properties | 18 +++---- .../main/resources/application-dev.properties | 10 ++-- .../main/resources/application-dev.properties | 10 ++-- .../main/resources/application-dev.properties | 11 +++-- .../main/resources/application-dev.properties | 8 ++-- 7 files changed, 82 insertions(+), 33 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..4df23c79 --- /dev/null +++ b/.gitignore @@ -0,0 +1,48 @@ +###################################################################### +# Build Tools + +.gradle +/build/ +!gradle/wrapper/gradle-wrapper.jar + +target/ +!.mvn/wrapper/maven-wrapper.jar + +###################################################################### +# IDE + +### STS ### +.apt_generated +.classpath +.factorypath +.project +.settings +.springBeans + +### IntelliJ IDEA ### +.idea +**/.idea +*.iws +*.iml +*.ipr + +### JRebel ### +rebel.xml + +### NetBeans ### +nbproject/private/ +build/* +nbbuild/ +dist/ +nbdist/ +.nb-gradle/ + +###################################################################### +# Others +*.log +*.xml.versionsBackup +*.swp + +!*/build/*.java +!*/build/*.html +!*/build/*.xml 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 3b9f7f30..c6e5bc5a 100644 --- a/servers/boe-server-all/src/main/resources/application-dev.properties +++ b/servers/boe-server-all/src/main/resources/application-dev.properties @@ -1,7 +1,7 @@ ## redis spring.redis.database=4 -spring.redis.host=127.0.0.1 -spring.redis.password=ENC(zA5LNV8xw3yEx6LMwdGGBGgNsOaD3Cg+) +spring.redis.host=124.70.92.162 +spring.redis.password=qwert!W577 spring.redis.port=6379 ## datasource config @@ -9,9 +9,9 @@ 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/boeu_base?useSSL=false&useUnicode=true&characterEncoding=UTF8&zeroDateTimeBehavior=convertToNull -spring.datasource.username=root -spring.datasource.password=ENC(lAoFOYuc8CAypPtigTNLYg==) +spring.datasource.url=jdbc:mysql://124.70.92.162:3306/boe_base?useSSL=false&useUnicode=true&characterEncoding=UTF8&zeroDateTimeBehavior=convertToNull +spring.datasource.username=boe_base +spring.datasource.password=k3DbtrcCkKAcFYzd logging.level.org.hibernate.SQL=DEBUG logging.level.org.hibernate.type.descriptor.sql.BasicBinder=TRACE 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 4c9fd28e..5a52e8e5 100644 --- a/servers/boe-server-basic/src/main/resources/application-dev.properties +++ b/servers/boe-server-basic/src/main/resources/application-dev.properties @@ -1,12 +1,12 @@ # redis spring.redis.database=2 -spring.redis.host=127.0.0.1 -spring.redis.password=ENC(zA5LNV8xw3yEx6LMwdGGBGgNsOaD3Cg+) +spring.redis.host=124.70.92.162 +spring.redis.password=qwert!W577 spring.redis.port=6379 # datasource config # basic数据库 -spring.jpa.hibernate.ddl-auto=update +spring.jpa.hibernate.ddl-auto=none spring.jpa.open-in-view=false spring.jpa.properties.hibernate.enable_lazy_load_no_trans=true @@ -14,18 +14,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.username=root -spring.datasource.db1.password=ENC(lAoFOYuc8CAypPtigTNLYg==) +spring.datasource.db1.jdbc-url=jdbc:mysql://124.70.92.162:3306/boe_base?useSSL=false&useUnicode=true&characterEncoding=UTF8&zeroDateTimeBehavior=convertToNull +spring.datasource.db1.username=boe_base +spring.datasource.db1.password=k3DbtrcCkKAcFYzd # 主数据库 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.username=root -spring.datasource.db2.password=ENC(lAoFOYuc8CAypPtigTNLYg==) +spring.datasource.db2.jdbc-url=jdbc:mysql://124.70.92.162:3306/boe_base?useSSL=false&useUnicode=true&characterEncoding=UTF8&zeroDateTimeBehavior=convertToNull +spring.datasource.db2.username=boe_base +spring.datasource.db2.password=k3DbtrcCkKAcFYzd logging.level.org.hibernate.SQL=DEBUG diff --git a/servers/boe-server-course/src/main/resources/application-dev.properties b/servers/boe-server-course/src/main/resources/application-dev.properties index 4722360e..acc0e3f9 100644 --- a/servers/boe-server-course/src/main/resources/application-dev.properties +++ b/servers/boe-server-course/src/main/resources/application-dev.properties @@ -1,16 +1,16 @@ ## redis spring.redis.database=2 -spring.redis.host=127.0.0.1 -spring.redis.password=ENC(zA5LNV8xw3yEx6LMwdGGBGgNsOaD3Cg+) +spring.redis.host=124.70.92.162 +spring.redis.password=qwert!W577 spring.redis.port=6379 ## datasource config spring.jpa.show-sql = false 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_base4?useSSL=false&useUnicode=true&characterEncoding=UTF8&zeroDateTimeBehavior=convertToNull -spring.datasource.username=root -spring.datasource.password=ENC(lAoFOYuc8CAypPtigTNLYg==) +spring.datasource.url=jdbc:mysql://124.70.92.162:3306/boe_base?useSSL=false&useUnicode=true&characterEncoding=UTF8&zeroDateTimeBehavior=convertToNull +spring.datasource.username=boe_base +spring.datasource.password=k3DbtrcCkKAcFYzd # logging.level.org.hibernate.SQL=DEBUG # logging.level.org.hibernate.type.descriptor.sql.BasicBinder=TRACE diff --git a/servers/boe-server-old/src/main/resources/application-dev.properties b/servers/boe-server-old/src/main/resources/application-dev.properties index 86163df1..c3d41ab6 100644 --- a/servers/boe-server-old/src/main/resources/application-dev.properties +++ b/servers/boe-server-old/src/main/resources/application-dev.properties @@ -1,7 +1,7 @@ ## redis spring.redis.database=3 -spring.redis.host=127.0.0.1 -spring.redis.password=ENC(zA5LNV8xw3yEx6LMwdGGBGgNsOaD3Cg+) +spring.redis.host=124.70.92.162 +spring.redis.password=qwert!W577 spring.redis.port=6379 logging.level.org.hibernate.SQL=DEBUG @@ -10,9 +10,9 @@ logging.level.org.hibernate.type.descriptor.sql.BasicBinder=TRACE spring.jpa.hibernate.ddl-auto=none 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_old?useSSL=false&useUnicode=true&characterEncoding=UTF8&zeroDateTimeBehavior=convertToNull -spring.datasource.username=root -spring.datasource.password=ENC(lAoFOYuc8CAypPtigTNLYg==) +spring.datasource.url=jdbc:mysql://124.70.92.162:3306/boe_base?useSSL=false&useUnicode=true&characterEncoding=UTF8&zeroDateTimeBehavior=convertToNull +spring.datasource.username=boe_base +spring.datasource.password=k3DbtrcCkKAcFYzd # 设置logback.xml位置 logging.config=classpath:log/logback-dev.xml diff --git a/servers/boe-server-task/src/main/resources/application-dev.properties b/servers/boe-server-task/src/main/resources/application-dev.properties index b2b7e4a5..94e09dff 100644 --- a/servers/boe-server-task/src/main/resources/application-dev.properties +++ b/servers/boe-server-task/src/main/resources/application-dev.properties @@ -1,15 +1,16 @@ ## redis spring.redis.database=2 -spring.redis.host=127.0.0.1 -spring.redis.password=ENC(zA5LNV8xw3yEx6LMwdGGBGgNsOaD3Cg+) +spring.redis.host=124.70.92.162 +spring.redis.password=qwert!W577 spring.redis.port=6379 ## datasource config spring.datasource.driverClassName=com.mysql.jdbc.Driver # spring.datasource.driverClassName=com.mysql.cj.jdbc.Driver -spring.datasource.url=jdbc:mysql://192.168.0.10:3306/boe_base1?useSSL=false&useUnicode=true&characterEncoding=UTF8&zeroDateTimeBehavior=convertToNull -spring.datasource.username=root -spring.datasource.password=ENC(lAoFOYuc8CAypPtigTNLYg==) +spring.datasource.url=jdbc:mysql://124.70.92.162:3306/boe_base?useSSL=false&useUnicode=true&characterEncoding=UTF8&zeroDateTimeBehavior=convertToNull +spring.datasource.username=boe_base +spring.datasource.password=k3DbtrcCkKAcFYzd +spring.jpa.hibernate.ddl-auto=none # logging.level.org.hibernate.SQL=DEBUG # logging.level.org.hibernate.type.descriptor.sql.BasicBinder=TRACE diff --git a/servers/modify-221027/src/main/resources/application-dev.properties b/servers/modify-221027/src/main/resources/application-dev.properties index 428da12a..a7c7a9eb 100644 --- a/servers/modify-221027/src/main/resources/application-dev.properties +++ b/servers/modify-221027/src/main/resources/application-dev.properties @@ -1,15 +1,15 @@ # datasource config # basic数据库 -spring.jpa.hibernate.ddl-auto=update +spring.jpa.hibernate.ddl-auto=none spring.jpa.open-in-view=false spring.jpa.properties.hibernate.enable_lazy_load_no_trans=true spring.datasource.driverClassName=com.mysql.jdbc.Driver # spring.datasource.driverClassName=com.mysql.cj.jdbc.Driver # 当前数据库 basic 对应的数据库 -spring.datasource.url=jdbc:mysql://127.0.0.1:3306/boeu_base?useSSL=false&useUnicode=true&characterEncoding=UTF8&zeroDateTimeBehavior=convertToNull -spring.datasource.username=root -spring.datasource.password=ENC(lAoFOYuc8CAypPtigTNLYg==) +spring.datasource.url=jdbc:mysql://124.70.92.162:3306/boe_base?useSSL=false&useUnicode=true&characterEncoding=UTF8&zeroDateTimeBehavior=convertToNull +spring.datasource.username=boe_base +spring.datasource.password=k3DbtrcCkKAcFYzd logging.level.org.hibernate.SQL=DEBUG logging.level.org.hibernate.type.descriptor.sql.BasicBinder=TRACE