make akonadi startup actually working - wait for existing socket file

Review Request #124588 - Created Aug. 2, 2015 and submitted

Information
Martin Koller
akonadi
Applications/15.08
Reviewers
akonadi
dvratil

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


  

Issues

  • 0
  • 1
  • 0
  • 1
Description From Last Updated
Volker Krause
Allen Winter
Milian Wolff
Martin Koller
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit a0d51b01f45f7b4417455218ff91feaac3aa6bf6 by Martin Koller to branch Applications/15.08.
Loading...