[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: KDEPIM & Cal-/Card-DAV



Am Mittwoch, 28. November 2012 schrieb Kevin Krammer:
> On Tuesday, 2012-11-27, Thomas Pircher wrote:
> > On Tuesday 27 Nov 2012 09:01:08 Kevin Krammer wrote:
> > > You could try the SQLite backend.
> > 
> > Moving slightly more off-topic: is it safe for 2 users on the same
> > machine sharing the same Akonadi database? I'm using Postgresql as
> > DB backend.
> 
> This depends on what you mean with same database.
> 
> Can two Akonadi servers connect to the same database server?
> 
> I think that could be done, assuming the database server can separate
> the two clients.
> 
> Can two Akonadi servers work on the same tables?
> 
> I don't think so. The data itself can of course be shared provided the
> backends allow that.

You can use different users and different databases in akonadiserverrc with 
the same database. I never tried this, but I do not know why this
shouldn´t work.

[QPSQL]
Name=akonadi
Host=/home/martin/.local/share/akonadi/socket-merkaba
Options=
ServerPath=/usr/lib/postgresql/9.1/bin/pg_ctl
InitDbPath=/usr/lib/postgresql/9.1/bin/initdb
StartServer=true

Database name I think would be akonadi. I used "akonadi-UID" at work.

User can be given somehow as well, I think it was just "User=". And 
"Password=". I can look this up at work, at home I just use automatically 
started PostgreSQL servers that operate on database in $HOME.

-- 
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7


Reply to: