[Akonadi] [Bug 409736] After upgrade to Applications 19.04.3: Akonadi can't connect to local MySQL server any more
Stefan Galinski
bugzilla_noreply at kde.org
Fri Jul 12 12:31:29 BST 2019
https://bugs.kde.org/show_bug.cgi?id=409736
Stefan Galinski <stefan.galinski at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |stefan.galinski at gmail.com
--- Comment #4 from Stefan Galinski <stefan.galinski at gmail.com> ---
I solved the problem. It'a an AppArmor issue.
You need to edit your AppArmor configuration.
vim /etc/apparmor.d/usr.sbin.mysqld-akonadi
The content looks like this from the beginning. I only added a lot's of stuff
at the top.
```
# vim:syntax=apparmor
#include <tunables/global>
/usr/sbin/mysqld-akonadi {
#include <abstractions/base>
/usr/sbin/mysqld-akonadi r,
/usr/sbin/mysqld cx,
profile /usr/sbin/mysqld {
/run/user/1000/akonadi/default/mysql.pid rwmk,
/run/user/1000/akonadi/default/mysql.socket rwmk,
/run/user/1000/akonadi/default/mysql.socket.lock rwmk,
/sys/devices/system/node/* r,
/sys/devices/system/node/ r,
/etc/mysql/* r,
/etc/mysql/mysql.conf.d/ r,
/etc/mysql/mysql.conf.d/* r,
/sys/devices/system/node/node0/meminfo r,
[more lines]
```
Afterwards reload the apparmor configuration for the file.
apparmor_parser -r /etc/apparmor.d/usr.sbin.mysqld-akonadi
You can restart Akonadi via the Akonadi console or a system restart now.
At least it worked for me and I'm fine again. :-)
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Kdepim-bugs
mailing list