Bug 241980 - Akonadi does not always start mysql correctly
Summary: Akonadi does not always start mysql correctly
Status: RESOLVED NOT A BUG
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: server (show other bugs)
Version: unspecified
Platform: Compiled Sources Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Volker Krause
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-17 12:24 UTC by Andre Heinecke
Modified: 2011-04-12 12:10 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andre Heinecke 2010-06-17 12:24:26 UTC
Version:           unspecified (using Devel) 
OS:                MS Windows

Akonadi very often shows an Error Message, and sometimes does not start the mysql server correctly after that.

Reproducible: Sometimes

Steps to Reproduce:
Either use the E-5 installer (which packages Akonadi from trunk at the moment) as described here: http://wiki.kolab.org/index.php/Kontact_for_Windows_(Enterprise-5) or from the KDE-Windows Installer. Install it and start Akonadiconsole.

It is most likely the same cause as for Bug 241977 https://bugs.kde.org/show_bug.cgi?id=241977 


Actual Results:  
Starting akonadiserver (by either starting Kontact or akonadiconsole, or akonadictl start) on Windows produces an error message nearly instantly that QMysql 
This does not happen every time though and mainly appeared during the first startup and/or on low performance systems.

The exact Error that shows up in a Error Dialog Box(annoying) is:
Failed to connect to database: Can't connect to MySQL server on 'localhost' (10061) QMYSQL: Unable to connect.

In most cases Startup then continues normally. In some cases tough, again mostly on slow performance Systems mysqld then gets started four times and the Error log of mysql gets filled with messages that several processes are trying to get data and the akonadiserver startup fails. 

Expected Results:  
Akonadi would quietly start one instance of mysqlserver.
Comment 1 Andre Heinecke 2011-04-12 12:10:55 UTC
Akonadi now uses sqlite on Windows and this bug is most likely fixed anyway in the meantime but I have no setup to check this.

-> Changed status to invalid