brew services start mysql@5.7
brew services stop mysql@5.7
server.port=8099
spring.application.name=jpa
spring.datasource.url=jdbc:mysql://127.0.0.1:3306/jpa?autoReconnect=true&useUnicode=true&allowMultiQueries=true&useSSL=false&&characterEncoding=utf-8
spring.datasource.username=root
spring.datasource.password=rootpw
spring.datasource.platform=mysql
spring.jpa.hibernate.ddl-auto=update
spring.jpa.show-sql=true
#spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL55Dialect
spring.jpa.database-platform=org.hibernate.dialect.MySQL5InnoDBDialect
网友评论