Kristyna Streitova changed bug 1006539
What Removed Added
CC   kstreitova@suse.com, wolfgang@rosenauer.org

Comment # 2 on bug 1006539 from
Hi, thank you for reporting this issue and for the proposed patch. However, I
took a look at it and I think that it should be fixed within akonadi-server.

First of all, akonadi uses a wrong option "default-file" here. It should be
"defaults-file". 

And secondly, I don't see any reason to use "basedir=/usr" option as "/usr" is
set as a default value here if you don't use this option at all. 
Option "basedir" should be used when the user has a non-standard MariaDB
installation directory. I believe then it's up to the user to ensure that this
installation directory contains all the required files in the right places. But
that is not our case.


If I use a correct "defaults-file" option and if I omit a useless "basedir"
option it works fine:

<snip>
dhcp210:~ # /usr/bin/mysql_install_db
--defaults-file=/etc/xdg/akonadi/mysql-global.conf --force
--datadir=/home/antonio/.local/share/akonadi/db_data
Installing MariaDB/MySQL system tables in
'/home/antonio/.local/share/akonadi/db_data' ...
161025 16:58:18 [Note] /usr/sbin/mysqld (mysqld 10.0.27-MariaDB) starting as
process 4855 ...
OK
Filling help tables...
161025 17:01:25 [Note] /usr/sbin/mysqld (mysqld 10.0.27-MariaDB) starting as
process 8581 ...
OK

PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER !
To do so, start the server, then issue the following commands:

'/usr/bin/mysqladmin' -u root password 'new-password'
'/usr/bin/mysqladmin' -u root -h dhcp210 password 'new-password'

(...)
</snip>


Adding akonadi maintainer (Wolfgang Rosenauer) to CC.


You are receiving this mail because: