[Kde-pim] akonadi won't connect to external mysql server

Kevin Krammer kevin.krammer at gmx.at
Thu May 21 16:36:16 BST 2009


On Thursday, 2009-05-21, Robin Atwood wrote:
> If I start akonadi with the default private server, it starts OK. Since I
> already run mysql this is a waste of resources so I changed the config to
> use the external server. akonadiserverrc contains:
>
> [%General]
> Driver=QMYSQL
>
> [QMYSQL]
> Name=akonadi
> User=root
> Password=********
> Options="UNIX_SOCKET=/var/run/mysqld/mysqld.sock"
> ServerPath=/usr/sbin/mysqld
> StartServer=false
> Host=localhost
>
> [Debug]
> Tracer=null
>
> But when I try to start akonadi I get:
>
> $ [akonadiserver] Unable to open database "Unknown database 'akonadi'
> QMYSQL: Unable to connect"

Can you connect with the mysql client using its --socket option?

> The test dialog shows akonadi is not registsred with dbus but dbus is
> running. Anyone any idea why the external server causes this problem?

It is not registered because it aborted startup after failing to connect to 
the database server.

Cheers,
Kevin

-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20090521/691af3bc/attachment.sig>
-------------- 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