版权声明:本博客为记录本人学习过程而开,内容大多从网上学习与整理所得,若侵权请告知! https://blog.csdn.net/Fly_as_tadpole/article/details/84351581
在application.yml文件中配置jpa.hibernate的时候还是要记得
1)最重要的!密码(password)要加双引号!!!!!特别是以零开头的密码!!
2)设置time__zone 为 +8:00
spring:
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://localhost/girl
username: root
password: "0111"
jpa:
hibernate:
ddl-auto: update
show-sql: true
database: mysql