Advertisement
Guest User

Untitled

a guest
Jun 26th, 2019
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. spring:
  2. datasource:
  3. url: jdbc:mysql://${DATABASE_HOSTNAME:localhost}:${DATABASE_PORT:3306}/${DATABASE_NAME:assignment_controller}?createDatabaseIfNotExist=true&characterEncoding=UTF-8&allowPublicKeyRetrieval=true&useSSL=false&${DATABASE_ARGS:}
  4. username: ${DATABASE_USERNAME:root}
  5. password: ${DATABASE_PASSWORD:123456}
  6. driver-class-name: com.mysql.cj.jdbc.Driver
  7.  
  8. jpa:
  9. open-in-view: true
  10. hibernate:
  11. ddl-auto: ${DDL_MODE:update}
  12.  
  13. properties:
  14. hibernate:
  15. dialect: org.hibernate.dialect.MySQL5InnoDBDialect
  16. connection:
  17. characterEncoding: utf-8
  18. CharSet: utf-8
  19. useUnicode: true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement