<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>I uploaded the complete log here: https://paste.ee/p/37de9</div>

<div>This seems to be the interesting part:</div>

<div>
<pre class="editor no-highlight"><code>00000362   21.42408752     [10536] digikam.dbengine: Failure executing query:
00000363        21.42408752     [10536]  "SELECT creationDate FROM ImageInformation INNER JOIN Images ON Images.id=ImageInformation.imageid  WHERE Images.status=1;"
00000364        21.42408752     [10536] Error messages: "QMYSQL3: Unable to store statement results" "Lost connection to MySQL server during query" "2013" 2
00000365        21.42408752     [10536] Bound values:  ()
00000366        21.42440414     [10536] digikam.dbengine: Prepare failed!
00000367        21.42446327     [10536] digikam.dbengine: Failure executing query:      </code></pre>
</div>

<div> 
<div> 
<div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left:2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="margin:0 0 10px 0;"><b>Gesendet:</b> Mittwoch, 28. April 2021 um 18:59 Uhr<br/>
<b>Von:</b> "Maik Qualmann" <metzpinguin@gmail.com><br/>
<b>An:</b> "digiKam - Home Manage your photographs as a professional with the power of open source" <digikam-users@kde.org><br/>
<b>Betreff:</b> Re: [digiKam-users] Failure when open DigiKam with internal MySQL database</div>

<div name="quoted-content">Set the debug environment variable in the Windows Environment Variable Editor<br/>
as described here:<br/>
<br/>
<a href="https://www.digikam.org/contribute/" target="_blank">https://www.digikam.org/contribute/</a><br/>
<br/>
And then the DebugView log from the beginning.<br/>
<br/>
Maik<br/>
<br/>
Am Mittwoch, 28. April 2021, 18:27:54 CEST schrieb Acki Schnacki:<br/>
> I am new to DigiKam using 7.2 with internal Mysql database. 1.8GB big so<br/>
> far. For unkown reason, yesterday I cannot correctly open digikam anymore.<br/>
> When I open the app, it takes ages to open an than quits with a short<br/>
> message, "cannot connect to localhost", something similar, the message is<br/>
> not long present on the screen.<br/>
> When using DebgView I see following messages:<br/>
> [10684] QSqlQuery::prepare: database not open<br/>
> [10684] QSqlDatabasePrivate::removeDatabase: connection<br/>
> 'digikamDatabase-275987120' is still in use, all queries will cease to<br/>
> work. [10684] QSqlDatabasePrivate::addDatabase: duplicate connection name<br/>
> 'digikamDatabase-275987120', old connection removed. [10684]<br/>
> QSqlQuery::prepare: database not open<br/>
> [10684] QSqlDatabasePrivate::removeDatabase: connection<br/>
> 'digikamDatabase-166507360' is still in use, all queries will cease to<br/>
> work. [10684] QSqlDatabasePrivate::addDatabase: duplicate connection name<br/>
> 'digikamDatabase-166507360', old connection removed. [10684]<br/>
> QSqlDatabasePrivate::removeDatabase: connection 'digikamDatabase-275987120'<br/>
> is still in use, all queries will cease to work. [10684]<br/>
> QSqlDatabasePrivate::addDatabase: duplicate connection name<br/>
> 'digikamDatabase-275987120', old connection removed. [10684]<br/>
> QSqlQuery::prepare: database not open<br/>
> [10684] QSqlDatabasePrivate::removeDatabase: connection<br/>
> 'digikamDatabase-275987120' is still in use, all queries will cease to<br/>
> work. [10684] QSqlDatabasePrivate::addDatabase: duplicate connection name<br/>
> 'digikamDatabase-275987120', old connection removed. [10684]<br/>
> QSqlDatabasePrivate::removeDatabase: connection 'digikamDatabase-275987120'<br/>
> is still in use, all queries will cease to work. [10684]<br/>
> QSqlDatabasePrivate::addDatabase: duplicate connection name<br/>
> 'digikamDatabase-275987120', old connection removed. [10684]<br/>
> QSqlDatabasePrivate::removeDatabase: connection 'digikamDatabase-166507360'<br/>
> is still in use, all queries will cease to work. [10684]<br/>
> QSqlDatabasePrivate::addDatabase: duplicate connection name<br/>
> 'digikamDatabase-166507360', old connection removed.<br/>
> What can I do? Is my database gone?<br/>
<br/>
<br/>
<br/>
 </div>
</div>
</div>
</div></div></body></html>