Error code 1005, SQL state HY000: Can't create table errno: 150

前端 未结 5 691
生来不讨喜
生来不讨喜 2021-01-01 06:40

I\'m trying to create a table but the script fails as soon as my netbeans errors the first table of DB.

How can this be solved?

CREATE TABLE filmy
(         


        
5条回答
  •  渐次进展
    2021-01-01 07:35

    May you used with this table name(filmy) in a relation to other table and then you dropped it. check any relation and remove every where you use with this table name or change your table name for example use "filmy1" I changed my table name then it worked.

    I hope this work.

提交回复
热议问题