良玉的博客 点点滴滴,积水成河_良玉的博客_页游、手游linux运维工程师之路

MySQL: Can't create table (errno: 150)

 If these are not satisfied, MySQL returns Error 1005 and refers to Error 150 in the error message, which means that a foreign key constraint was not correctly formed. 

今天创建mysql的双外键报错:MySQL: Can't create table (errno: 150)

google到是因为加外键不正确,然后尝试一个外键,成功


留言列表
发表评论
来宾的头像