MySQL error #1005 (Code 150)

后端 未结 2 831
情歌与酒
情歌与酒 2021-01-16 23:23

I have tried create this table, but nothing I have tried works from FKs.

CREATE TABLE `tb_AutSituacao` (
 `id` int(11) NOT NULL AUTO_INCREMENT,
 `Nome` varch         


        
2条回答
  •  深忆病人
    2021-01-16 23:56

    $ perror 150
    MySQL error code 150: Foreign key constraint is incorrectly formed
    

    Fix your FOREIGN KEY definition.

提交回复
热议问题