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

Robin Atwood robin at binro.org
Thu May 21 18:24:08 BST 2009


On Thursday 21 May 2009, Kevin Krammer wrote:
> On Thursday, 2009-05-21, Robin Atwood wrote:
> > On Thursday 21 May 2009, Kevin Krammer wrote:
> > > On Thursday, 2009-05-21, Robin Atwood wrote:
> > > > 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?
> >
> > Thanks for the prompt response. Is this what you mean?
> >
> > $ mysql -u root -p --socket=/var/run/mysqld/mysqld.sock
>
> Can you try with the username you specified in the Akonadi config?

I used "root" in the akonadi config to make sure it was valid! 

> If that works, try removing the "Host" setting from the config.
> Maybe the QtSQL driver attemps a TCP connection to the host rather than
> using the Unix socket.

Removing the host setting makes no difference. :(

-Robin
-- 
----------------------------------------------------------------------
Robin Atwood.

"Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst"
         from "Mandalay" by Rudyard Kipling
----------------------------------------------------------------------









_______________________________________________
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