DB 설정 정보 변경

This commit is contained in:
kimre
2022-08-09 19:17:28 +09:00
parent a4a11e5c3b
commit 18db35a7e2
4 changed files with 13 additions and 14 deletions

View File

@@ -59,7 +59,7 @@ dependencies {
// implementation group: 'javax.servlet', name: 'jstl', version: '1.2' // implementation group: 'javax.servlet', name: 'jstl', version: '1.2'
// mariadb driver // mariadb driver
implementation group: 'org.mariadb.jdbc', name: 'mariadb-java-client', version: '2.7.5' implementation group: 'org.mariadb.jdbc', name: 'mariadb-java-client', version: '2.7.6'
// mybatis // mybatis
implementation group: 'org.mybatis.spring.boot', name: 'mybatis-spring-boot-starter', version: '2.2.2' implementation group: 'org.mybatis.spring.boot', name: 'mybatis-spring-boot-starter', version: '2.2.2'
@@ -106,7 +106,6 @@ dependencies {
// https://mvnrepository.com/artifact/javax.xml.bind/jaxb-api // https://mvnrepository.com/artifact/javax.xml.bind/jaxb-api
implementation group: 'javax.xml.bind', name: 'jaxb-api', version: '2.3.1' implementation group: 'javax.xml.bind', name: 'jaxb-api', version: '2.3.1'
// LOCAL용. // LOCAL용.
implementation 'org.bgee.log4jdbc-log4j2:log4jdbc-log4j2-jdbc4.1:1.16' /* Log4JDBC */ implementation 'org.bgee.log4jdbc-log4j2:log4jdbc-log4j2-jdbc4.1:1.16' /* Log4JDBC */
} }

View File

@@ -1,7 +1,7 @@
spring: spring:
datasource-db1: datasource-db1:
driver-class-name: com.mysql.cj.jdbc.Driver driver-class-name: org.mariadb.jdbc.Driver
jdbc-url: jdbc:mysql://dev-msghubez-db.cluster-chhh2ppdeksu.ap-northeast-2.rds.amazonaws.com:3306?serverTimezone=UTC&characterEncoding=UTF-8 jdbc-url: jdbc:mariadb:aurora://dev-msghubez-db.cluster-chhh2ppdeksu.ap-northeast-2.rds.amazonaws.com:3306?characterEncoding=utf8mb4&serverTimezone=Asia/Seoul&allowMultiQueries=true
username: hubez_admin username: hubez_admin
password: ENC(KujgLXvYG1ZD0bT9ec6I3Ld/xV25JmyX) password: ENC(KujgLXvYG1ZD0bT9ec6I3Ld/xV25JmyX)
hikari: hikari:
@@ -14,8 +14,8 @@ spring:
idle-timeout: 600000 idle-timeout: 600000
max-lifetime: 1800000 max-lifetime: 1800000
datasource-db2: datasource-db2:
driver-class-name: com.mysql.cj.jdbc.Driver driver-class-name: org.mariadb.jdbc.Driver
jdbc-url: jdbc:mysql://dev-msghubez-db.cluster-chhh2ppdeksu.ap-northeast-2.rds.amazonaws.com:3306?serverTimezone=UTC&characterEncoding=UTF-8 jdbc-url: jdbc:mariadb:aurora://dev-msghubez-db.cluster-ro-chhh2ppdeksu.ap-northeast-2.rds.amazonaws.com:3306?characterEncoding=utf8mb4&serverTimezone=Asia/Seoul&allowMultiQueries=true
username: hubez_admin username: hubez_admin
password: ENC(KujgLXvYG1ZD0bT9ec6I3Ld/xV25JmyX) password: ENC(KujgLXvYG1ZD0bT9ec6I3Ld/xV25JmyX)
hikari: hikari:

View File

@@ -1,7 +1,7 @@
spring: spring:
datasource-db1: datasource-db1:
driver-class-name: com.mysql.cj.jdbc.Driver driver-class-name: org.mariadb.jdbc.Driver
jdbc-url: jdbc:mysql://prd-msghubez-db.cluster-clgtyr2wjyos.ap-northeast-2.rds.amazonaws.com:3306?serverTimezone=UTC&characterEncoding=UTF-8 jdbc-url: jdbc:mariadb:aurora://prd-msghubez-db.cluster-clgtyr2wjyos.ap-northeast-2.rds.amazonaws.com:3306?characterEncoding=utf8mb4&serverTimezone=Asia/Seoul&allowMultiQueries=true
username: hubez_admin username: hubez_admin
password: ENC(KujgLXvYG1ZD0bT9ec6I3Ld/xV25JmyX) password: ENC(KujgLXvYG1ZD0bT9ec6I3Ld/xV25JmyX)
hikari: hikari:
@@ -14,8 +14,8 @@ spring:
idle-timeout: 600000 idle-timeout: 600000
max-lifetime: 1800000 max-lifetime: 1800000
datasource-db2: datasource-db2:
driver-class-name: com.mysql.cj.jdbc.Driver driver-class-name: org.mariadb.jdbc.Driver
jdbc-url: jdbc:mysql://prd-msghubez-db.cluster-clgtyr2wjyos.ap-northeast-2.rds.amazonaws.com:3306?serverTimezone=UTC&characterEncoding=UTF-8 jdbc-url: jdbc:mariadb:aurora://prd-msghubez-db.cluster-ro-clgtyr2wjyos.ap-northeast-2.rds.amazonaws.com:3306?characterEncoding=utf8mb4&serverTimezone=Asia/Seoul&allowMultiQueries=true
username: hubez_admin username: hubez_admin
password: ENC(KujgLXvYG1ZD0bT9ec6I3Ld/xV25JmyX) password: ENC(KujgLXvYG1ZD0bT9ec6I3Ld/xV25JmyX)
hikari: hikari:

View File

@@ -1,7 +1,7 @@
spring: spring:
datasource-db1: datasource-db1:
driver-class-name: com.mysql.cj.jdbc.Driver driver-class-name: org.mariadb.jdbc.Driver
jdbc-url: jdbc:mysql://stg-msghubez-db.cluster-chhh2ppdeksu.ap-northeast-2.rds.amazonaws.com:3306?serverTimezone=UTC&characterEncoding=UTF-8 jdbc-url: jdbc:mariadb:aurora://stg-msghubez-db.cluster-chhh2ppdeksu.ap-northeast-2.rds.amazonaws.com:3306?characterEncoding=utf8mb4&serverTimezone=Asia/Seoul&allowMultiQueries=true
username: hubez_admin username: hubez_admin
password: ENC(KujgLXvYG1ZD0bT9ec6I3Ld/xV25JmyX) password: ENC(KujgLXvYG1ZD0bT9ec6I3Ld/xV25JmyX)
hikari: hikari:
@@ -14,8 +14,8 @@ spring:
idle-timeout: 600000 idle-timeout: 600000
max-lifetime: 1800000 max-lifetime: 1800000
datasource-db2: datasource-db2:
driver-class-name: com.mysql.cj.jdbc.Driver driver-class-name: org.mariadb.jdbc.Driver
jdbc-url: jdbc:mysql://stg-msghubez-db.cluster-chhh2ppdeksu.ap-northeast-2.rds.amazonaws.com:3306?serverTimezone=UTC&characterEncoding=UTF-8 jdbc-url: jdbc:mariadb:aurora://stg-msghubez-db.cluster-ro-chhh2ppdeksu.ap-northeast-2.rds.amazonaws.com:3306?characterEncoding=utf8mb4&serverTimezone=Asia/Seoul&allowMultiQueries=true
username: hubez_admin username: hubez_admin
password: ENC(KujgLXvYG1ZD0bT9ec6I3Ld/xV25JmyX) password: ENC(KujgLXvYG1ZD0bT9ec6I3Ld/xV25JmyX)
hikari: hikari: