我已经像this.why一样配置了它,我报告了上面的错误吗?
spring.jpa.show-sql = true
logging.level.org.springframework.data=DEBUG
spring.jpa.hibernate.ddl-auto=update
spring.datasource.url=jdbc:mysql://localhost:3306/test
spring.datasource.username=root
spring.datasource.password=root
spring.datasource.driver-class-name=com.mysql.jdbc.Driver
spring.jpa.hibernate.namingstrategy=org.hibernate.cfg.ImprovedNamingStrategy
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MYSQL5Dialect发布于 2018-06-01 09:20:29
您的配置中有一个错误
正确的应该是
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5Dialecthttps://stackoverflow.com/questions/50639731
复制相似问题