Question : data base spring
Answered by : lively-leopard-iwjfdt891rt3
spring.jpa.hibernate.ddl-auto=update
spring.datasource.url=jdbc:mysql://${MYSQL_HOST:localhost}:3306/db_example
spring.datasource.username=springuser
spring.datasource.password=ThePassword
spring.datasource.driver-class-name =com.mysql.jdbc.Driver
#spring.jpa.show-sql: trueCopied
Source : https://spring.io/guides/gs/accessing-data-mysql/ | Last Update : Sat, 03 Jul 21