Guest User

Untitled

a guest
Dec 17th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. ALTER TABLE course add constraint
  2. fk_lang
  3. FOREIGN KEY (lang_id) references content_language(lang_id);
  4.  
  5. ALTER TABLE book_author add constraint
  6. fk_lang
  7. FOREIGN KEY (author_id) references author(author_id);
  8.  
  9.  
  10.  
  11. fails with:
  12.  
  13. ERROR 1005 (HY000): Can't create table 'catalogue.#sql-5bb4_1b2' (errno: 121)
  14.  
  15.  
  16.  
  17. perror 121:
  18.  
  19. OS error code 121: Remote I/O error
  20. MySQL error code 121: Duplicate key on write or update
Add Comment
Please, Sign In to add comment