postgresql更新
This commit is contained in:
parent
f9eb29a5f3
commit
1a327a227a
@ -1,13 +1,13 @@
|
|||||||
# Mysql数据库
|
# Mysql数据库
|
||||||
spring:
|
#spring:
|
||||||
datasource:
|
# datasource:
|
||||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
# driver-class-name: com.mysql.cj.jdbc.Driver
|
||||||
url: jdbc:mysql://localhost:3306/xiaonuo-vue-pub?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&nullCatalogMeansCurrent=true
|
# url: jdbc:mysql://localhost:3306/xiaonuo-vue?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT&nullCatalogMeansCurrent=true
|
||||||
username: root
|
# username: root
|
||||||
password: 123456
|
# password: 123456
|
||||||
# 连接池大小根据实际情况调整
|
# # 连接池大小根据实际情况调整
|
||||||
max-active: 20
|
# max-active: 20
|
||||||
max-pool-prepared-statement-per-connection-size: 20
|
# max-pool-prepared-statement-per-connection-size: 20
|
||||||
|
|
||||||
# Oracle数据库
|
# Oracle数据库
|
||||||
#spring:
|
#spring:
|
||||||
@ -24,7 +24,16 @@ spring:
|
|||||||
#spring:
|
#spring:
|
||||||
# datasource:
|
# datasource:
|
||||||
# driverClassName: com.microsoft.sqlserver.jdbc.SQLServerDriver
|
# driverClassName: com.microsoft.sqlserver.jdbc.SQLServerDriver
|
||||||
# url: jdbc:sqlserver://localhost:1433;DatabaseName=xiaonuo-vue-pub-mssql
|
# url: jdbc:sqlserver://localhost:1433;DatabaseName=xiaonuo
|
||||||
# username: sa
|
# username: sa
|
||||||
|
# password: wangdemo
|
||||||
|
# filters: wall,mergeStat
|
||||||
|
|
||||||
|
#PostgreSQL配置
|
||||||
|
#spring:
|
||||||
|
# datasource:
|
||||||
|
# driverClassName: org.postgresql.Driver
|
||||||
|
# url: jdbc:postgresql://127.0.0.1:5432/xiaonuo
|
||||||
|
# username: postgres
|
||||||
# password: 123456
|
# password: 123456
|
||||||
# filters: wall,mergeStat
|
# filters: wall,mergeStat
|
||||||
|
Loading…
x
Reference in New Issue
Block a user