增postgresql
This commit is contained in:
@@ -2,10 +2,16 @@ spring.application.name=VideoTablet
|
||||
server.port=8088
|
||||
|
||||
## mysql 数据连接信息
|
||||
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
|
||||
spring.datasource.url=jdbc:mysql://139.199.77.221:13306/video_tablet_db?useUnicode=true&characterEncoding=utf8&useSSL=false&allowPublicKeyRetrieval=true
|
||||
spring.datasource.username=tt
|
||||
#spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
|
||||
#spring.datasource.url=jdbc:mysql://139.199.77.221:13306/video_tablet_db?useUnicode=true&characterEncoding=utf8&useSSL=false&allowPublicKeyRetrieval=true
|
||||
#spring.datasource.username=tt
|
||||
#spring.datasource.password=fanhuitong
|
||||
|
||||
# PostgreSQL 数据源配置
|
||||
spring.datasource.url=jdbc:postgresql://139.199.77.221:5433/video_tablet_db
|
||||
spring.datasource.username=postgres
|
||||
spring.datasource.password=fanhuitong
|
||||
spring.datasource.driver-class-name=org.postgresql.Driver
|
||||
|
||||
# redis基础配置
|
||||
# 0也是默认值,表示你要操控的 Redis 上的哪个数据库
|
||||
|
||||
Reference in New Issue
Block a user