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

Michal Kec (MiK) <k...@kecnet.cz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
             Status|REPORTED                    |CONFIRMED
                 CC|                            |k...@kecnet.cz

--- Comment #9 from Michal Kec (MiK) <k...@kecnet.cz> ---
I can confirm this bug affected digiKam 5.9.0 and 6.0.0 beta 2, both on KDE
Neon (bionic) and MySQL server 5.7.24.

Besides the issue mentioned in #c0 (mysql_install_db is deprecated), there's
another issue caused by wrong parameters order. In according to MySQL docs [1]
the argument --defaults-file must be the first. More info about the
initializing in MySQL 5.7 on [2]

The initialization command that worked for me was `mysqld
--defaults-file=/home/mik/.local/share/digikam/mysql.conf --initialize
--datadir=/home/mik/.local/share/digikam/db_data --server-id=1`


[1] https://dev.mysql.com/doc/refman/5.7/en/option-file-options.html
[2] https://mysqlserverteam.com/initialize-your-mysql-5-7-instances-with-ease/

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to