mirror of https://gitee.com/xiaonuobase/snowy
postgresql更新
parent
f9eb29a5f3
commit
1a327a227a
|
@ -1,13 +1,13 @@
|
|||
# Mysql数据库
|
||||
spring:
|
||||
datasource:
|
||||
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
|
||||
username: root
|
||||
password: 123456
|
||||
# 连接池大小根据实际情况调整
|
||||
max-active: 20
|
||||
max-pool-prepared-statement-per-connection-size: 20
|
||||
#spring:
|
||||
# datasource:
|
||||
# driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
# 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
|
||||
# password: 123456
|
||||
# # 连接池大小根据实际情况调整
|
||||
# max-active: 20
|
||||
# max-pool-prepared-statement-per-connection-size: 20
|
||||
|
||||
# Oracle数据库
|
||||
#spring:
|
||||
|
@ -24,7 +24,16 @@ spring:
|
|||
#spring:
|
||||
# datasource:
|
||||
# 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
|
||||
# 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
|
||||
# filters: wall,mergeStat
|
||||
|
|
Loading…
Reference in New Issue