jairo-serratoo
3/13/2020 - 5:42 AM

Configuracion de coneccion a DB Spring

spring.datasource.url= jdbc:mysql://localhost:3307/mydb
spring.datasource.username= root
spring.datasource.password= sasa
spring.datasource.driver-class-name= com.mysql.jdbc.Driver

spring.jpa.show-sql= true
spring.jpa.hibernate.ddl-auto= update
spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.MySQL57Dialect

##Cambiar la zona horaria de mysql, este es en MYSQL
##
##   SET @@global.time_zone = '+02:00';

##  spring.jpa.hibernate.naming.physical-strategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl