[Akonadi] [Bug 392948] Akonadi fails to start on a fresh system (cannot create directory)

BAKfr bugzilla_noreply at kde.org
Sun Jun 17 17:11:29 BST 2018


https://bugs.kde.org/show_bug.cgi?id=392948

--- Comment #5 from BAKfr <kde-bugzilla at ebak.fr> ---


I dig into this issue and think I've found the root of the problem.

On first run, Akonadi is supposed to initialize the database.
To do so, it checks the presence of mysql_install_db, and executes it with
different arguments depending of the software (mysql or mariadb) and the
version.

Since MySQL 5.7, mysql_install_db is deprecated. There is a new '--initialize'
argument available to replace it, (present in both mysql and mariadb).

KDE Neon (and probably others Ubuntu-based distributions) does not include this
script in all mysqld package anymore.
mysql_install_db isn't present in the path, and so the database initialization
is never executed.


>From KDE Neon User Edition, the packages "mariadb-server-10.0",
"mysql-server-core-5.7" include the script. The packages "mariadb-server-10.0"
and "mysql-server-core-5.7" does not.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list