修改数据库脚本

This commit is contained in:
weidong 2023-11-13 14:59:35 +08:00
parent 47db6cadf3
commit 1a4736d91e
2 changed files with 10 additions and 8 deletions

View File

@ -7,9 +7,9 @@ spring.application.build=20230924
spring.jpa.show-sql = true spring.jpa.show-sql = true
spring.jpa.hibernate.ddl-auto = none spring.jpa.hibernate.ddl-auto = none
spring.jpa.database-platform = org.hibernate.dialect.MySQLDialect spring.jpa.database-platform = org.hibernate.dialect.MySQLDialect
spring.datasource.url = jdbc:mysql://localhost:3306/bis-device?characterEncoding=utf8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai spring.datasource.url = jdbc:mysql://localhost:3306/beidou?characterEncoding=utf8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
spring.datasource.username = root spring.datasource.username = admin
spring.datasource.password = spring.datasource.password = DBMgr_2022
spring.datasource.driverClassName = com.mysql.cj.jdbc.Driver spring.datasource.driverClassName = com.mysql.cj.jdbc.Driver
spring.jackson.dateFormat = yyyy-MM-dd HH:mm:ss spring.jackson.dateFormat = yyyy-MM-dd HH:mm:ss
@ -26,4 +26,6 @@ netty.port=9903
app.format.date = yyyy-MM-dd app.format.date = yyyy-MM-dd
app.format.time = HH:mm:ss app.format.time = HH:mm:ss
app.format.datetime = yyyy-MM-dd HH:mm:ss app.format.datetime = yyyy-MM-dd HH:mm:ss
mybatis-plus.configuration.map-underscore-to-camel-case=false

View File

@ -1,7 +1,7 @@
# Attention: serverTimezone=Asia/Shanghai !!! # Attention: serverTimezone=Asia/Shanghai !!!
spring.datasource.url=jdbc:mysql://127.0.0.1:3306/bis-device?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai&useSSL=true spring.datasource.url=jdbc:mysql://127.0.0.1:3306/beidou?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai&useSSL=true
spring.datasource.username=root spring.datasource.username=admin
spring.datasource.password= spring.datasource.password=DBMgr_2022
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
spring.jpa.properties.hibernate.hbm2ddl.auto=update spring.jpa.properties.hibernate.hbm2ddl.auto=update
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MYSQL5InnoDBDialect spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MYSQL5InnoDBDialect
@ -17,7 +17,7 @@ spring.thymeleaf.prefix=classpath:/templates
spring.thymeleaf.suffix=.html spring.thymeleaf.suffix=.html
#security #security
server.port=8668 server.port=9901
server.servlet.context-path = / server.servlet.context-path = /
#server.ssl.key-store=classpath:tianheng.keystore #server.ssl.key-store=classpath:tianheng.keystore
#server.ssl.key-store-password=nbb2021 #server.ssl.key-store-password=nbb2021