From 8059a338c7672416d7edf6f3f09fd54a4aebfa5e Mon Sep 17 00:00:00 2001
From: YunjiChoi <yyy0304@ajou.ac.kr>
Date: Mon, 17 Jul 2023 14:29:52 +0900
Subject: [PATCH] initial commit2

---
 src/main/resources/application.properties | 44 ++++++++++++++---------
 target/classes/application.properties     | 44 ++++++++++++++---------
 2 files changed, 56 insertions(+), 32 deletions(-)

diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties
index e823e30..b5c80b7 100644
--- a/src/main/resources/application.properties
+++ b/src/main/resources/application.properties
@@ -1,25 +1,37 @@
 server.port = 8098
-spring.jpa.hibernate.ddl-auto=update
-spring.jpa.show-sql=true
-
-spring.datasource.url=jdbc:mysql://210.107.196.163:41498/webdev?serverTimezone=Asia/Seoul
 spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
-
-# spring.jpa.database = 
+spring.datasource.url=jdbc:mysql://210.107.196.163:41498/webdev?serverTimezone=UTC
 spring.datasource.username=root
 spring.datasource.password=yyy0304
 
-# spring.datasource.driver-class-name=org.h2.Driver
-# spring.datasource.url=jdbc:h2:mem:test
-# spring.datasource.username=
-# spring.datasource.password=
+spring.jpa.properties.hibernate.show_sql=true
+spring.jpa.properties.hibernate.format_sql=true
+logging.level.org.hibernate.type.descriptor.sql=trace
+spring.jpa.hibernate.ddl-auto=update
+spring.jpa.database-platform=org.hibernate.dialect.MySQLDialect
+
+# server.port = 8098
+# spring.jpa.hibernate.ddl-auto=update
+# spring.jpa.show-sql=true
+
+# spring.datasource.url=jdbc:mysql://210.107.196.163:41498/webdev?serverTimezone=Asia/Seoul
+# spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
+
+# # spring.jpa.database = 
+# spring.datasource.username=root
+# spring.datasource.password=yyy0304
+
+# # spring.datasource.driver-class-name=org.h2.Driver
+# # spring.datasource.url=jdbc:h2:mem:test
+# # spring.datasource.username=
+# # spring.datasource.password=
 
-# spring.jpa.database-platform=org.hibernate.dialect.H2Dialect
+# # spring.jpa.database-platform=org.hibernate.dialect.H2Dialect
 
-# spring.jpa.hibernate.ddl-auto=create
+# # spring.jpa.hibernate.ddl-auto=create
 
-spring.jpa.properties.hibernate.show_sql = true
-spring.jpa.properties.hibernate.connection.autocommit = true
-spring.jpa.properties.hibernate.format_sql = true
-logging.level.org.hibernate.type.descriptor.sql = trace
+# spring.jpa.properties.hibernate.show_sql = true
+# spring.jpa.properties.hibernate.connection.autocommit = true
+# spring.jpa.properties.hibernate.format_sql = true
+# logging.level.org.hibernate.type.descriptor.sql = trace
 
diff --git a/target/classes/application.properties b/target/classes/application.properties
index e823e30..b5c80b7 100644
--- a/target/classes/application.properties
+++ b/target/classes/application.properties
@@ -1,25 +1,37 @@
 server.port = 8098
-spring.jpa.hibernate.ddl-auto=update
-spring.jpa.show-sql=true
-
-spring.datasource.url=jdbc:mysql://210.107.196.163:41498/webdev?serverTimezone=Asia/Seoul
 spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
-
-# spring.jpa.database = 
+spring.datasource.url=jdbc:mysql://210.107.196.163:41498/webdev?serverTimezone=UTC
 spring.datasource.username=root
 spring.datasource.password=yyy0304
 
-# spring.datasource.driver-class-name=org.h2.Driver
-# spring.datasource.url=jdbc:h2:mem:test
-# spring.datasource.username=
-# spring.datasource.password=
+spring.jpa.properties.hibernate.show_sql=true
+spring.jpa.properties.hibernate.format_sql=true
+logging.level.org.hibernate.type.descriptor.sql=trace
+spring.jpa.hibernate.ddl-auto=update
+spring.jpa.database-platform=org.hibernate.dialect.MySQLDialect
+
+# server.port = 8098
+# spring.jpa.hibernate.ddl-auto=update
+# spring.jpa.show-sql=true
+
+# spring.datasource.url=jdbc:mysql://210.107.196.163:41498/webdev?serverTimezone=Asia/Seoul
+# spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
+
+# # spring.jpa.database = 
+# spring.datasource.username=root
+# spring.datasource.password=yyy0304
+
+# # spring.datasource.driver-class-name=org.h2.Driver
+# # spring.datasource.url=jdbc:h2:mem:test
+# # spring.datasource.username=
+# # spring.datasource.password=
 
-# spring.jpa.database-platform=org.hibernate.dialect.H2Dialect
+# # spring.jpa.database-platform=org.hibernate.dialect.H2Dialect
 
-# spring.jpa.hibernate.ddl-auto=create
+# # spring.jpa.hibernate.ddl-auto=create
 
-spring.jpa.properties.hibernate.show_sql = true
-spring.jpa.properties.hibernate.connection.autocommit = true
-spring.jpa.properties.hibernate.format_sql = true
-logging.level.org.hibernate.type.descriptor.sql = trace
+# spring.jpa.properties.hibernate.show_sql = true
+# spring.jpa.properties.hibernate.connection.autocommit = true
+# spring.jpa.properties.hibernate.format_sql = true
+# logging.level.org.hibernate.type.descriptor.sql = trace
 
-- 
GitLab