个人笔记--- application.yml 常用配置

it2024-01-01  61

application.yml 常用配置

spring: datasource: # 数据源基本配置 username: root password: root driver-class-name: com.mysql.jdbc.Driver url: jdbc:mysql://localhost:3306/ticktock jpa: hibernate: ddl-auto: update #自动更新数据表 show-sql: true properties: hibernate: format_sql: true #格式化sql语句
最新回复(0)