Skip to content

Instantly share code, notes, and snippets.

@NandanSatheesh
Created December 4, 2019 07:52
Show Gist options
  • Save NandanSatheesh/6a512c9325a68f01eb7b2328e9129994 to your computer and use it in GitHub Desktop.
Save NandanSatheesh/6a512c9325a68f01eb7b2328e9129994 to your computer and use it in GitHub Desktop.
My Config for Spring with MySQL
spring.datasource.url=jdbc:mysql://localhost:3306/test?useUnicode=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=UTC
spring.datasource.username=root
spring.datasource.password=
spring.datasource.driver-class-name=com.mysql.jdbc.Driver
spring.jpa.hibernate.ddl-auto=update
spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.MySQL5InnoDBDialect
spring.jpa.hibernate.naming-strategy=org.hibernate.cfg.ImprovedNamingStrategy
# Hibernate ddl auto (create, create-drop, validate, update)
logging.level.org.hibernate.SQL=DEBUG
logging.level.org.hibernate.type=TRACE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment