当前位置:Gxlcms > 数据库问题 > spring boot数据库连接配置

spring boot数据库连接配置

时间:2021-07-01 10:21:17 帮助过:3人阅读

1、spring.datasource.url=jdbc:mysql://192.168.1.105/spring?useUnicode=true&characterEncoding=utf-8&serverTimezone=UTC&useSSL=true
spring.datasource.username=root
spring.datasource.password=
spring.datasource.driver-class-name=com.mysql.jdbc.Driver

spring.jpa.properties.hibernate.hbm2ddl.auto=update
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialect
spring.jpa.show-sql= true
spring.thymeleaf.cache=false

 

2、

spring boot数据库连接配置

标签:password   drive   server   use   upd   char   pos   data   driver   

人气教程排行