foreign keys - MySQL errorno 121 -
I am getting this error in making MySQL. I am doing:
create tab 'blog' rally (`id`inte (24) no 'comment comment' primary key of this table, blog-id INT (24) No Comment Comment 'Blog Where this reply was posted, 'UserID' input (24) was commented 'User posted to the blog', 'name', VAARAR (100) new default 'unknown' comment 'User Name which was the answer' post. 'Email' VARCHAR (100) Null default 'Unknown' comment 'User' The reply to the email given by 'http` was filed by VARCHAR (300)' Unknown 'COMMENT was posted by' User's Web Address Answer ',' Message ', the text of the blog was not written' Text ' 'Vote' INT (10) DEFAULT 0 COMMENT 'Blog Ratings',' Rated 'Reader Comments' People who have already voted on this blog,' Datestr 'The Biggest Null Comment' Date Registered to User ', Primary Key (`id`), contract 'fk_user id' foreign key (`User ID ') Deliverable set desist set cassade on context' User '(` id`), Constant' FK_blogID 'foreign key (`blog id') reference 'blog' (` id`) on update cascade on delays cascade) = InDobiBee;
Any ideas? Error state: can not create table. '/xxxxxxxx/blogReply.frm' (error: 121)
Check that all your hurdles are actually spelled correctly, also check that no other tables use the name FK_userId or FK_blogId
Comments
Post a Comment