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

Allen Winter winter at kde.org
Sun Aug 2 13:50:39 BST 2015


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


I don't know the code at all, but I'm wondering if we can support Windows here as well?  there is the Sleep() function you could use on Windows see http://stackoverflow.com/questions/10918206/cross-platform-sleep-function-for-c

- Allen Winter


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