解决方法 在application.properties添加下面的配置即可: spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.MySQL5InnoDBDialect