[Kde-pim] Fwd: [PATCH] Akonadi server passing data-dirs parameter to mysql

Allen Winter winter at kde.org
Thu Aug 12 21:55:53 BST 2010


forwarding to the kdepim folks

----------  Forwarded Message  ----------

Subject: [PATCH] Akonadi server passing data-dirs parameter to mysql
Date: Thursday 12 August 2010, 10:53:12 am
From: Karn Kallio <tierpluspluslists at gmail.com>
To: kde-devel at kde.org

The akonadi server mysql configuration routine passes some 
parameters to the mysqld server ( --defaults-file, --datadir and --
socket or --shared-memory depending on if it is a windows build or not 
) .  The parameter --datadir is passed differently depending on 
whether it is a windows build.  The non-windows form is missing the 
"=" between the parameter name and the parameter value, which 
causes akonadiserver to fail to connect to the mysqld server.  I 
believe that the mysqld server interprets it as two parameters.

The installation of KDE 4.4.5 on NixOS ( http://nixos.org ) required this 
patch to akonadiserver in order for it to start.

File patched: akonadi-1.3.85/server/src/storage/dbconfigmysql.cpp

-----------------------------------------
-- 
Allen Winter | allen at kdab.net | Software Engineer
KDAB (USA), LLC, a KDAB Group company
Tel. USA +1-866-777-KDAB(5322), Sweden (HQ) +46-563-540090
KDAB - Qt Experts - Platform-independent software solutions
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-broken-datadir-parameter.patch
Type: text/x-patch
Size: 806 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20100812/259e40c2/attachment.bin>
-------------- next part --------------
_______________________________________________
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