You are not logged in.

#1 2022-11-30 10:26

samtfalterblau
Member
Registered: 2022-11-30
Posts: 4

Connection fail to MYSQL-database of Akonadi

I recently installed Q4OS 4.10 Gemini Plasma on my Laptop. All works well - better than Debian 11, siduction and KDEneon, which I tried too. There is only one exception: KDEPIM with Akonadi!

I installed it from the repositories:

sudo apt install kdepim mariadb-common mariadb-server akonadi-server akonadi-backend-mysql kdepim-runtime default-mysql-server

Did I miss some packages?

After starting Kontact the akonadi_migration_agent was working ("In process ...") during Akonadi tried to start a local MYSQL-Server. But unfortunately without success. The error message from the Akonadi Console appeared: "Failed to connect to database: Access denied for user 'samtfalterblau'@'localhost' QMYSQL: No connection can be established."

What can I do to still start a local MYSQL-Server like Akonadi tried to?

Suggestions are welcome! Thanks in advance, Robert

Last edited by samtfalterblau (2022-11-30 10:59)

Offline

#2 2023-01-24 09:56

samtfalterblau
Member
Registered: 2022-11-30
Posts: 4

Re: Connection fail to MYSQL-database of Akonadi

I'd like to mention that this is a Q4OS-issue ONLY! In Debian 11 "Bullseye" it is working, in Siduction as well. Therefore I'd like to get a guess of the Q4OS makers, what could be the reason for my problem with kdepim, I described above.

Last edited by samtfalterblau (2023-01-24 09:56)

Offline

#3 2023-01-24 21:23

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 3,686
Website

Re: Connection fail to MYSQL-database of Akonadi

We are investigating the issue reported. We will post back as soon as we make a progress.

Offline

#4 2023-01-26 12:20

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 3,686
Website

Re: Connection fail to MYSQL-database of Akonadi

We can definitely confirm this bug. The culprit is the Akonadi server, what doesn't follow XDG standard variable $XDG_CONFIG_HOME properly. This bug is reproducible on a plain Debian installation with $XDG_CONFIG_HOME variable set to anything other then "$HOME/.config".

The quick workaround for Q4OS is to run Kontact and thus Akonadi server this way:
$ XDG_CONFIG_HOME="" kontact

As working on a fix, we post more info here.

Offline

#5 2023-01-26 12:55

samtfalterblau
Member
Registered: 2022-11-30
Posts: 4

Re: Connection fail to MYSQL-database of Akonadi

Thank you very much for the investigation! I will try it.

Offline

Board footer

Powered by FluxBB