diff --git a/fourthSeminar/src/main/resources/application.yaml b/fourthSeminar/src/main/resources/application.yaml index 2160224..7f2e2d2 100644 --- a/fourthSeminar/src/main/resources/application.yaml +++ b/fourthSeminar/src/main/resources/application.yaml @@ -5,6 +5,7 @@ spring: # set1 --- spring: + profiles: set1 datasource: driver-class-name: com.mysql.cj.jdbc.Driver url: jdbc:mysql://localhost:3306/sopt_32?useSSL=true&useUnicode=true&serverTimezone=Asia/Seoul @@ -34,6 +35,7 @@ server: --- spring: datasource: + profiles: set2 driver-class-name: com.mysql.cj.jdbc.Driver url: jdbc:mysql://localhost:3306/sopt_32?useSSL=true&useUnicode=true&serverTimezone=Asia/Seoul username: root