数据库的指向问题和JPA配置(application.yml)

#DB Configations and JPA Configations 
spring:
datasource:
driverClassName: com.mysql.jdbc.Driver
url: jdbc:mysql://127.0.0.1:3306/springboot
username: root
password: root
jpa:
database: MySQL
#看见SQL语句 true:控制台看见 false:控制台直接显示数据
show-sql: true
#自动创建数据库表 true :有的话删除创建 false: 有的话直接使用
generate-ddl: true
page:
rows: 50
posted @ 2019-11-06 19:37  程--序-猿  阅读(1138)  评论(0编辑  收藏  举报