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

Milian Wolff mail at milianw.de
Sun Aug 2 14:43:56 BST 2015


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



src/server/storage/dbconfigmysql.cpp (line 35)
<https://git.reviewboard.kde.org/r/124588/#comment57574>

    remove this and use `QThread::[u,m,]sleep` instead.


- Milian Wolff


On Aug. 2, 2015, 8:12 a.m., Martin Koller wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/124588/
> -----------------------------------------------------------
> 
> (Updated Aug. 2, 2015, 8:12 a.m.)
> 
> 
> 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