Description of problem: dev0 Aug 10 09:16:32 mysqld-prepare-db-dir[810] snipped from start of each line : Initializing MySQL database : FATAL ERROR: Could not find /usr/share/mysql/mysql_test_db.sql : If you compiled from source, you need to either run 'make install' to : copy the software into the correct location ready for operation. : If you don't want to do a full install, you can use the --srcddir : option to only install the mysql database and privilege tables : If you are using a binary release, you must either be at the top : level of the extracted archive, or pass the --basedir option : pointing to that location. : The latest information about mysql_install_db is available at : https://mariadb.com/kb/en/installing-system-tables-mysql_install_db Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. systemctl start mysqld 2. journalctl --no-hostname | grep mysqld 3.
assigning to registered maintainer, Cc'ing mkrämer, who, iirc, pushed mariadb in a recent past
Assignee: bugsquad => alienCC: (none) => mageia, marja11
and what is the problem with that output? It is only occurs on the first start of mysqld. This is because we don't want to have the testdatabase in production environments.
Assignee: alien => mageia
sorry. last comment was not supposed to be posted.
(In reply to Marc Krämer from comment #2) > and what is the problem with that output? > It is only occurs on the first start of mysqld. This is because we don't > want to have the testdatabase in production environments. I can agree it is a good security practice, and I have an expect script which runs mysql_secure_installation to remove the test database and whatnot, but the big problem with it is, # systemctl start mysqld Job for mysqld.service failed because the control process exited with error code. See "systemctl status mysqld.service" and "journalctl -xe" for details.
Severity: normal => major
update mariadb-core-10.3.8-4.mga7 resolved the problem.
Resolution: (none) => FIXEDStatus: NEW => RESOLVED