gpt4 book ai didi

MYSQL错误1005(HY000): Can't create table (errno: 121 "Duplicate key on write or update")

转载 作者:行者123 更新时间:2023-11-29 21:31:26 25 4
gpt4 key购买 nike

我正在 XAMPP 中执行 mysql 作业,但一直出现

Error1005(HY000): Can't create table (errno: 121 "Duplicate key on write or update") And when I changed 'Course' to 'Courses' , It worked! Got the same error with 'Instructor', And it worked when I changed the tablename from 'Instructor' to 'Faculty'. See Images below for clarification. I really want to know what's happening under the hood! 12

最佳答案

我认为,大多数情况下,您错过了像这样的约束名称 CONSTRAINT fk_book_author

您还在第一个屏幕的最后一个查询中错过了 TABLE 关键字。

关于MYSQL错误1005(HY000): Can't create table (errno: 121 "Duplicate key on write or update"),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35222297/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com