When running bulkmarcimport.pl with the -d option (truncate tables), I get an error stating Foreign Key violation. Is it possible that the foreign keys are not set to 0 before the truncate commands are given? -- Sent from: http://koha.1045719.n5.nabble.com/Koha-general-f3047918.html
Hello, What is the exact error you get? There is a --fk option to pass to the script to turn off the foreign key checks. But if you get an error during the truncate it will not help much. Regards, Jonathan On Sat, 2 Jun 2018 at 00:00 ksorbo <keith@thesorbos.com> wrote:
When running bulkmarcimport.pl with the -d option (truncate tables), I get an error stating Foreign Key violation.
Is it possible that the foreign keys are not set to 0 before the truncate commands are given?
-- Sent from: http://koha.1045719.n5.nabble.com/Koha-general-f3047918.html _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha
I missed the -fk option. I'll try it when/if I do another mass import. -- Sent from: http://koha.1045719.n5.nabble.com/Koha-general-f3047918.html
participants (2)
-
Jonathan Druart -
ksorbo