diff --git a/balance-mng/balance-mng-bootstrap/src/main/resources/application.properties b/balance-mng/balance-mng-bootstrap/src/main/resources/application.properties index a363c8a..c144fa6 100644 --- a/balance-mng/balance-mng-bootstrap/src/main/resources/application.properties +++ b/balance-mng/balance-mng-bootstrap/src/main/resources/application.properties @@ -15,7 +15,7 @@ server.port=9080 # database config spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver -spring.datasource.url=jdbc:mysql://localhost:3306/balance_db +spring.datasource.url=jdbc:mysql://localhost:3306/balance_db?sessionVariables=sql_mode='' spring.datasource.username=root spring.datasource.password=root diff --git a/stock-mng/src/main/resources/application.properties b/stock-mng/src/main/resources/application.properties index 3169a16..84089bb 100644 --- a/stock-mng/src/main/resources/application.properties +++ b/stock-mng/src/main/resources/application.properties @@ -14,7 +14,7 @@ spring.mvc.static-path-pattern=/** # database config spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver -spring.datasource.url=jdbc:mysql://localhost:3306/stock_db +spring.datasource.url=jdbc:mysql://localhost:3306/stock_db?sessionVariables=sql_mode='' spring.datasource.username=root spring.datasource.password=root