[Kde-pim] Review Request 124588: make akonadi startup actually working - wait for existing socket file

Martin Koller kollix at aon.at
Sun Aug 2 09:12:17 BST 2015


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/124588/
-----------------------------------------------------------

Review request for Akonadi and Daniel Vrátil.


Repository: akonadi


Description
-------

On my system starting "akonadictl start" always led to a failing start.

Always got errors:

/usr/bin/mysqlcheck: Got error: 2002: Can't connect to local MySQL server through socket '/tmp/akonadi-kdetrunk.26hJXs/mysql.socket' (2) when trying to connect
Failed to verify database server version
Query error: "MySQL server has gone away QMYSQL: Unable to execute query"

My solution is to explicitely wait until mysqld has created the socket file, which works perfectly now.

Probably fixes also bug #238217


Diffs
-----

  src/server/storage/dbconfigmysql.cpp e42185d 

Diff: https://git.reviewboard.kde.org/r/124588/diff/


Testing
-------


Thanks,

Martin Koller

_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list