From a58279899dc6cb8e9eda61d8338c0d69f4ea0935 Mon Sep 17 00:00:00 2001 From: wangxianzhang Date: Fri, 5 Aug 2022 14:15:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9db=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- db/jimureport.mysql5.7.create.sql | 2 +- src/main/resources/application.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/db/jimureport.mysql5.7.create.sql b/db/jimureport.mysql5.7.create.sql index 07f2704..ef76565 100644 --- a/db/jimureport.mysql5.7.create.sql +++ b/db/jimureport.mysql5.7.create.sql @@ -1,4 +1,4 @@ -CREATE database if NOT EXISTS `jimureport` default character set utf8mb4 collate utf8mb4_unicode_ci; +CREATE database if NOT EXISTS `epmet_jmreport` default character set utf8mb4 collate utf8mb4_unicode_ci; use `jimureport`; /* diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index a2a4dfb..3259321 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -3,7 +3,7 @@ server: spring: #数据库 datasource: - url: jdbc:mysql://${MYSQL-HOST:localhost}:${MYSQL-PORT:3306}/${MYSQL-DB:jimureport}?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai + url: jdbc:mysql://${MYSQL-HOST:192.168.1.140}:${MYSQL-PORT:3306}/${MYSQL-DB:epmet_jmreport}?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai username: root password: root driver-class-name: com.mysql.cj.jdbc.Driver @@ -13,7 +13,7 @@ jeecg : # local path : #文件路径 - upload: /opt/jimureport_upload + upload: /opt/jmreport_upload # alioss oss: endpoint: ??