On Sun, 6 Jun 2004 15:48:37 +0200
Dimitri Bosiers <[EMAIL PROTECTED]> wrote:

<snip>

> INSERT INTO  
> pages(hidden,name,page_number,data,is_section_root,layout_id,group_
> id)  VALUES(1,'nieuwe pagina',100,'',2,1,@LID);
> 
> this fails with a "ERROR 1216: Cannot add a child row: a foreign key
>  
> constraint fails"

Run:

SHOW INNODB STATUS;

And post the results in the "Latest Foreign Key Error" section.

Josh

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to