我是靠谱客的博主 欣慰荷花,这篇文章主要介绍org.hibernate.tool.schema.spi.CommandAcceptanceException:Error executing DDL via JDBC Statement,现在分享给大家,希望可以做个参考。

springboot中使用jpa自动生成表时报错,解决办法配置spring.jpa.database-platform

  • 添加配置
    spring.jpa.database-platform=org.hibernate.dialect.MySQL5InnoDBDialect
    

在这里插入图片描述

  • 或者版本不一样可以配置如下中的某个:
      org.hibernate.dialect.MySQL5Dialect
      org.hibernate.dialect.MySQL55Dialect
      org.hibernate.dialect.MySQL57Dialect
    

最后

以上就是欣慰荷花最近收集整理的关于org.hibernate.tool.schema.spi.CommandAcceptanceException:Error executing DDL via JDBC Statement的全部内容,更多相关org.hibernate.tool.schema.spi.CommandAcceptanceException:Error内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(44)

评论列表共有 0 条评论

立即
投稿
返回
顶部