Hello,

I've just finished installing VCL but I'm unable to configure the provision
of Lab computers. I'm following this How To:
https://cwiki.apache.org/confluence/display/VCL/How+to+Provision+Linux+and+Unix+Lab+Computers

On step 6 "Insert an image into the image table for this lab machine" im
getting this error:
ERROR 1452 (23000): Cannot add or update a child row: a foreign key
constraint fails (`vcl`.`image`, CONSTRAINT `image_ibfk_6` FOREIGN KEY
(`basedoffrevisionid`) REFERENCES `imagerevision` (`id`) ON UPDATE CASCADE)

If I continue with the next table, I get a similar error:
 ERROR 1452 (23000): Cannot add or update a child row: a foreign key
constraint fails (`vcl`.`imagerevision`, CONSTRAINT `imagerevision_ibfk_1`
FOREIGN KEY (`imageid`) REFERENCES `image` (`id`))

There seems to be a Mysql cross-database foreign key issue.

Can you help me?

Best regards
--
M. Sebastián Tobar

Reply via email to