[Kde-pim] Review Request: Use config for Akonadi socket directory to alson determine where to put the MySQL socket

Volker Krause vkrause at kde.org
Tue Sep 8 08:39:08 BST 2009



> On 2009-09-07 06:33:30, Volker Krause wrote:
> > Does that mean existing config files will fail to work, ie. existing users will end up with a non-working Akonadi? If that's the case we need to add some fallback code for that config option I guess.
> 
> Kevin Krammer wrote:
>     good point!
>     Maybe rewriting the options variable, or maybe taking the path from the options variable and only the SocketDirectory as a starting point of options is not yet specified?

This can be solved on various levels, from rewriting the options variable up to cleaning up the config mess by no longer writing out default values in the first place or a more advanced fallback mechanism that tries to start MySQL again with default options if the first attempt failed. Pick whatever you have time for ;-)


- Volker


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.kde.org/r/1520/#review2258
-----------------------------------------------------------


On 2009-09-04 18:16:28, Kevin Krammer wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://reviewboard.kde.org/r/1520/
> -----------------------------------------------------------
> 
> (Updated 2009-09-04 18:16:28)
> 
> 
> Review request for KDE PIM.
> 
> 
> Summary
> -------
> 
> The path where to put akonadiserver.socket can be configured using
> 
> [Connection]
> SocketDirectory=path
> 
> MySQL's socket was always put into the database directory.
> 
> This uses the same path for both sockets
> 
> 
> Diffs
> -----
> 
>   /trunk/kdesupport/akonadi/server/src/akonadi.cpp 1019884 
>   /trunk/kdesupport/akonadi/server/src/storage/dbconfig.h 1019884 
>   /trunk/kdesupport/akonadi/server/src/storage/dbconfig.cpp 1019884 
> 
> Diff: http://reviewboard.kde.org/r/1520/diff
> 
> 
> Testing
> -------
> 
> Without the section, mysql.socket now gets created in the Akonadi data directory. With config, at the desired place.
> 
> Known drawbacks: when changing the directory one also has to change MySQL Driver "option" config.
> 
> 
> Thanks,
> 
> Kevin
> 
>

_______________________________________________
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