The log file "~/.local/share/akonadi/akonadiserver.error" says:
------------------------------------------------------------------------
Database process exited unexpectedly during initial connection!
executable: "/usr/sbin/mysqld-akonadi"
arguments: ("--defaults-file=/home/username/.local/share/akonadi/mysql.conf", "--datadir=/home/username/.local/share/akonadi/db_data/", "--socket=/tmp/akonadi-username.EZqgDd/mysql.socket")
stdout: ""
stderr: "/usr/sbin/mysqld: Error on realpath() on '/var/lib/mysql-files' (Error 2)
161027 5:22:54 [ERROR] Failed to access directory for --secure-file-priv. Please make sure that directory exists and is accessible by MySQL Server. Supplied value : /var/lib/mysql-files
161027 5:22:54 [ERROR] Aborting
------------------------------------------------------------------------
Also affects Ubuntu 14.04.5 LTS.
The whole of Kontact/Kmail is broken.
The reason seems to be the mysql security updates of 2016-10-26:
------- ------- ------- ------- ------- ------- ------- ------- ------- ------- -- 0ubuntu0. 14.04.1, 5.5.53- 0ubuntu0. 14.04.1)
Start-Date: 2016-10-26 00:40:44
Upgrade: mysql-common:amd64 (5.5.52-
End-Date: 2016-10-26 00:40:51
Start-Date: 2016-10-26 00:41:16 core-5. 5:amd64 (5.5.52- 0ubuntu0. 14.04.1, 5.5.53- 0ubuntu0. 14.04.1)
Upgrade: mysql-server-
End-Date: 2016-10-26 00:41:25
Start-Date: 2016-10-26 00:41:45 core-5. 5:amd64 (5.5.52- 0ubuntu0. 14.04.1, 5.5.53- 0ubuntu0. 14.04.1) , mysql-common:amd64 (5.5.52- 0ubuntu0. 14.04.1, 5.5.53- 0ubuntu0. 14.04.1) , libmysqlclient1 8:amd64 (5.5.52- 0ubuntu0. 14.04.1, 5.5.53- 0ubuntu0. 14.04.1) ------- ------- ------- ------- ------- ------- ------- ------- ------- --
Upgrade: mysql-client-
End-Date: 2016-10-26 00:41:53
-------
The log file "~/.local/ share/akonadi/ akonadiserver. error" says: ------- ------- ------- ------- ------- ------- ------- ------- ------- -- mysqld- akonadi" file=/home/ username/ .local/ share/akonadi/ mysql.conf" , "--datadir= /home/username/ .local/ share/akonadi/ db_data/ ", "--socket= /tmp/akonadi- username. EZqgDd/ mysql.socket" ) mysql-files' (Error 2) mysql-files ------- ------- ------- ------- ------- ------- ------- ------- ------- --
-------
Database process exited unexpectedly during initial connection!
executable: "/usr/sbin/
arguments: ("--defaults-
stdout: ""
stderr: "/usr/sbin/mysqld: Error on realpath() on '/var/lib/
161027 5:22:54 [ERROR] Failed to access directory for --secure-file-priv. Please make sure that directory exists and is accessible by MySQL Server. Supplied value : /var/lib/
161027 5:22:54 [ERROR] Aborting
-------