How to fix “Error executing DDL ”alter table events drop foreign key FKg0mkvgsqn8584qoql6a2rxheq“ via JDBC Statement”

前端 未结 9 1546
刺人心
刺人心 2021-02-04 04:44

I\'m trying to start spring boot project with MySQL database, but I have some problem with database. I try to start my application that, and server is running but hibernate don\

9条回答
  •  遇见更好的自我
    2021-02-04 04:55

    Ran into similar issue and found SupaMario's answer here.

    In my case I had a table named orders but MySql threw the error as it seems to be a reserve table / keyword.

    I changed it to customer_order and it all worked fine.

提交回复
热议问题