<font color="#000099">I think I can explain a bit of it, and how to make it work the temporary way:<br><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">If you have a separate Mysql DB for thumbs (say 'digikam' for images and 'digikam_thumbs' for the thumbnails), then a 'settings' table is written into </span></font><font style="color: rgb(0, 0, 153);" color="#000099">'digikam_thumbs'. During the migration from sqlite, nothing gets written into</font><span style="color: rgb(0, 0, 153);"> into that table, although the sqlite corresponding table has DBThumbnailsVersionRequired:1, DBThumbnailsVersion:2 in it. </span><br style="color: rgb(0, 0, 153);">
<br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">I added the two records to </span><font style="color: rgb(0, 0, 153);" color="#000099"> 'digikam_thumbs'.settings, but digikam still throws the same error. Then I added the 2 records to </font> <font style="color: rgb(0, 0, 153);" color="#000099"> 'digikam'.settings</font><span style="color: rgb(0, 0, 153);"> and it worked, no error message anymore, and digikam finds all its thumbnails from the DB again.</span><br style="color: rgb(0, 0, 153);">
<br style="color: rgb(0, 0, 153);"><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">Gerhard</span><br style="color: rgb(0, 0, 153);"><br><div class="gmail_quote">On Thu, Jul 7, 2011 at 10:38 PM, brad <span dir="ltr"><<a href="mailto:bkn@ithryn.net">bkn@ithryn.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im"><a href="https://bugs.kde.org/show_bug.cgi?id=277242" target="_blank">https://bugs.kde.org/show_bug.cgi?id=277242</a><br>

<br>
<br>
<br>
<br>
<br>
</div>--- Comment #2 from brad <bkn ithryn net>  2011-07-07 20:38:21 ---<br>
This is in fact reproducible on Linux. Now that i have it building my machine<br>
at work, here is the path to reproduce.<br>
<br>
I stared with a fresh database with some sample photos. Use the Database<br>
Migration Tool, to convert the database from SQLite to MySQL (NOTE: i used an<br>
external MySQL database, not the internal version as the 'Internal Database'<br>
option gave an error). The conversion succeeded. Then, go to Configure Digikam<br>
and update the database information to use the newly created MySQL database, at<br>
which point i got an error saying,<br>
  "Error message: Failed to create tables in database."<br>
where the title of the dialog was:<br>
  "Failed to initialize thumbnail database".<br>
<br>
Relevant konsole output follows,<br>
  digikam(11486)/digikam (core): Call initializeThumbnailDatabase at<br>
  application start. There are already thumbnail loading threads created,<br>
  and these will not be switched to use the database.<br>
<br>
Then after these steps, every start of digikam will yield the messages outlined<br>
in the initial bug report. Also Note, that using the command line mysql client<br>
i can create tables within the thumbnails database using the same username/pass<br>
as digikam.<br>
<br>
I hope this helps a little bit, please let me know if you need more<br>
information.<br>
<div><div></div><div class="h5"><br>
--<br>
Configure bugmail: <a href="https://bugs.kde.org/userprefs.cgi?tab=email" target="_blank">https://bugs.kde.org/userprefs.cgi?tab=email</a><br>
------- You are receiving this mail because: -------<br>
You are the assignee for the bug.<br>
_______________________________________________<br>
Digikam-devel mailing list<br>
<a href="mailto:Digikam-devel@kde.org">Digikam-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/digikam-devel" target="_blank">https://mail.kde.org/mailman/listinfo/digikam-devel</a><br>
</div></div></blockquote></div><br>