#默认端口号
server:
  port: 8080

#配置数据源
spring:
  datasource:
    url: jdbc:mysql://192.168.208.131:3306/testdb
    username: root
    password: xiaofeng
    driver-class-name: com.mysql.jdbc.Driver
  jpa:
    hibernate:
      ddl-auto: update
    database: mysql
    show-sql: true
    properties:
      hibernate:
        dialect: org.hibernate.dialect.MariaDB53Dialect #重要,使用带事务的方言否则创建的表不支持事务
