📜  应用程序属性 spring boot mysql - 任何代码示例

📅  最后修改于: 2022-03-11 14:58:49.128000             🧑  作者: Mango

代码示例3
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: true