Browse Source

修改db名称

test
wangxianzhang 3 years ago
parent
commit
a58279899d
  1. 2
      db/jimureport.mysql5.7.create.sql
  2. 4
      src/main/resources/application.yml

2
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`;
/*

4
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: ??

Loading…
Cancel
Save