添加mysql执行多条SQL

This commit is contained in:
sunxin 2019-02-28 17:44:48 +08:00
parent 60bd4c00e0
commit 4cf31d35a2
3 changed files with 4 additions and 13 deletions

View File

@ -1,6 +1,6 @@
spring:
datasource:
url: jdbc:mysql://localhost:3306/tag?autoReconnect=true&useUnicode=true&characterEncoding=utf8&useSSL=false
url: jdbc:mysql://localhost:3306/db-mcms?autoReconnect=true&useUnicode=true&characterEncoding=utf8&useSSL=false&allowMultiQueries=true
username: root
password: root
filters: wall,mergeStat

View File

@ -1,6 +1,7 @@
spring:
datasource:
url: jdbc:mysql://localhost:3306/mcms?autoReconnect=true&useUnicode=true&characterEncoding=utf8&useSSL=false
driverClassName: com.microsoft.sqlserver.jdbc.SQLServerDriver
url: jdbc:sqlserver://localhost:1433;DatabaseName=db-mcms
username: root
password: root
filters: wall,mergeStat

View File

@ -1,11 +1 @@
server:
port: 4000
servlet.context-path: /
spring:
datasource:
url: jdbc:mysql://172.17.0.4:3306/mcms-4.7.0?autoReconnect=true&useUnicode=true&characterEncoding=utf8&useSSL=false
username: root
password: root
filters: wall,mergeStat
type: com.alibaba.druid.pool.DruidDataSource
mcms4.7.0 Oracle数据库暂不支持