Hi, minidlna always creates a new db each restart due to the check around line 915 in minidlna.c. I have added debugging code which show that sql_get_int_field always returns 0 although my scan was already completed, the log showed "scan ... finished".
Since my library is quite big and my machine very slow, this hurts.
Please have a look at setting and retrieving the DB version.
I have now disabled the version check with a quick hack, Seems to work.