Bugzilla – Bug 2898
With MySQL foreign key constraint fails during rescan.
Last modified: 2006-01-30 15:15:07 UTC
I'm using slimserver 6.2.1 with MySQL database backend. When told to rescan the following error occurs: Can't delete file://Yada.flac: DBD::mysql::st execute failed: Cannot delete or update a parent row: a foreign key constraint fails at /usr/local/slimserver/CPAN/DBIx/ContextualFetch.pm line 51. at /usr/local/slimserver/Slim/DataStores/DBI/DBIStore.pm line 652 This is a fatal error and causes slimserver to crash. Emptying all tables by hand fixes this but has to be done in funny order to avoid foreign key problems.
This is a dupe of 2850. If you feel there is applicable information to add, please add comments to that bug report. thanks. *** This bug has been marked as a duplicate of 2850 ***