[Koha] Problem on Staged MARC management
Tomas Cohen Arazi
tomascohen at gmail.com
Wed May 31 08:09:00 NZST 2017
you should try not using the truncate switch.
El mar., 30 de may. de 2017 12:44 PM, anjoze <joseanjos at gmail.com> escribió:
> Olá Pedro,
>
> Yes I've tried other files.
> Trying with bulkmarcimport.pl I have this message:
>
> / bib-64150.marcxml
> <http://koha.1045719.n5.nabble.com/file/n5935220/bib-64150.marcxml>
> deleting biblios
> DBD::mysql::db do failed: Cannot truncate a table referenced in a foreign
> key constraint (`koha_koha`.`aqorders`, CONSTRAINT `aqorders_ibfk_2`
> FOREIGN
> KEY (`biblionumber`) REFERENCES `koha_koha`.`biblio` (`biblionumber`)) [for
> Statement "truncate biblio"] at
> /usr/share/koha/bin/migration_tools/bulkmarcimport.pl line 150.
> DBD::mysql::db do failed: Cannot truncate a table referenced in a foreign
> key constraint (`koha_koha`.`items`, CONSTRAINT `items_ibfk_1` FOREIGN KEY
> (`biblioitemnumber`) REFERENCES `koha_koha`.`biblioitems`
> (`biblioitemnumber`)) [for Statement "truncate biblioitems"] at
> /usr/share/koha/bin/migration_tools/bulkmarcimport.pl line 151.
> DBD::mysql::db do failed: Cannot truncate a table referenced in a foreign
> key constraint (`koha_koha`.`accountlines`, CONSTRAINT
> `accountlines_ibfk_2`
> FOREIGN KEY (`itemnumber`) REFERENCES `koha_koha`.`items` (`itemnumber`))
> [for Statement "truncate items"] at
> /usr/share/koha/bin/migration_tools/bulkmarcimport.pl line 152.
> Characteristic MARC flavour: UNIMARC
> .
> 1 MARC records done in 0.147950887680054 seconds/
>
> Maybe its a problem with Mysql 5.7? There was a lot of problems with mysql
> 5.7...
>
>
>
> -----
> Koha version: 16.05.05
> - -
> José Anjos
> --
> View this message in context:
> http://koha.1045719.n5.nabble.com/Problem-on-Staged-MARC-management-tp5935206p5935220.html
> Sent from the Koha-general mailing list archive at Nabble.com.
> _______________________________________________
> Koha mailing list http://koha-community.org
> Koha at lists.katipo.co.nz
> https://lists.katipo.co.nz/mailman/listinfo/koha
>
--
Tomás Cohen Arazi
Theke Solutions (https://theke.io <http://theke.io/>)
✆ +54 9351 3513384
GPG: B2F3C15F
More information about the Koha
mailing list