[kde-linux] Akonadi and PostgreSQL

Kevin Kempter kevink at consistentstate.com
Wed Mar 17 12:15:23 UTC 2010


On Wednesday 17 March 2010 02:20:28 am Kevin Krammer wrote:
> On Wednesday, 2010-03-17, Kevin Kempter wrote:
> > Here's what I see:
> > 
> > I edited the file $HOME/.config/akonadi/akonadiserverrc as follows:
> > 
> > [%General]
> > Driver=QPSQL
> > SizeThreshold=4096
> > ExternalPayload=false
> > 
> > [QMYSQL]
> > Name=akonadi
> > Host=
> > User=
> > Password=
> > Options="UNIX_SOCKET=/home/kkempter/.local/share/akonadi/db_misc/mysql.so
> > ck et" ServerPath=/usr/libexec/mysqld
> > StartServer=true
> > 
> > [Debug]
> > Tracer=null
> > 
> > [QPSQL]
> > Name=akonadi
> > Host=localhost
> > User=akonadiuser
> > Password=akonadi001
> > Port=5477
> > 
> > Then I rebooted the laptop. Upon logging in I checked the file and it
> > 
> >  remained as I edited it (Driver=QPSQL)
> > 
> > However after I start Kmail, the file is changed like this:
> > [%General]
> > Driver=QMYSQL
> > SizeThreshold=4096
> > ExternalPayload=false
> > 
> > [QMYSQL]
> > Name=akonadi
> > Host=
> > User=
> > Password=
> > Options="UNIX_SOCKET=/home/kkempter/.local/share/akonadi/db_misc/mysql.so
> > ck et" ServerPath=/usr/libexec/mysqld
> > StartServer=true
> > 
> > [Debug]
> > Tracer=null
> > 
> > [QPSQL]
> > Name=akonadi
> > Host=localhost
> > User=akonadiuser
> > Password=akonadi001
> > Port=5477
> > 
> > 
> > What the heck?  Anyone have any suggestions?
> 
> Since the file still contains the QPSQL specifc settings, this looks a lot
> like a bug to me, i.e. something writing the [%General] section but not
> having read it correctly.
> Could have been missed when Postgres capabilities were introduced.
> Strange thing is that it sometimes works, makes it harder to determine the
> actual cause :(
> 
> Can you reproduce it everytime you first start KMail after a reboot?
> 
> Cheers,
> Kevin

Yes ive verified that it reverts to QMYSQL every time I reboot & subsequently 
start kmail




More information about the kde-linux mailing list