castis/seaforium — Issue #35: MYSQL file #28 problem?
Author: chrisgwynne
Created: 2011-11-22 11:36:19+00:00
State: open

Is this a constraint of my MYSQL setup or another syntax error?

Error
SQL query:

ALTER TABLE `user_profiles` ADD CONSTRAINT `FK_user_profiles_users` FOREIGN KEY ( `user_id` ) REFERENCES `users` ( `id` ) ON UPDATE NO ACTION ON DELETE NO ACTION ;

MySQL said:

#1005 - Can't create table 'forum.#sql-815_3ce0' (errno: 121) (Details...)