How to Solve Error executing DDL in JPA

Error report in automatic meter building

Spring boot configuration file to configure such a section

#jpa Configuration
jpa:
  #console display sql statements
  show-sql: true
  database: mysql
  hibernate:
    ddl-auto: update
  open-in-view: true
  #error: Error executing DDL
  database-platform: org.hibernate.dialect.MySQL5InnoDBDialect

Read More: