amuehlem / MISP-RPM

RPM packages for MISP
32 stars 14 forks source link

mariadb-secure-installation command not found and error mariadb versions #90

Closed romarito90 closed 8 months ago

romarito90 commented 8 months ago

Hello @amuehlem

I have the following problem when I tried to run the commnad

mariadb-secure-installation

image

Why?? MariaDB is installed and active

image

I note the following weird thing

When I change the version of mariaDB version in misp repo it doesnt take the version that I choose like 10.5 in this case

image

MariaDB is taken from another repository and installed the version 10.3

image

image

The version 3:10.3.39-1.module+el8.8.0+19673+72b0d35f repository rhel-8-for-x86_64-appstream-rpms

and when I check if MariaDB-server is installed I have errors

image

image

Maybe this because the installation of the version 10.3 first and then try to install 10.5 version but why ?

If you can help me please to fix this and how to run the command mariadb-secure-installation

amuehlem commented 8 months ago

Maybe the command is written with underlines instead of hyphens. mysql_secure_installation

The Version 10.3 seems to come from one of the official RHEL repositories. If you want, you can use this version. If you want to use a newer version, you can try to install it by disabling the official repository yum --disablerepo= rhel-8-for-x86_64-appstream-rpms --enablerepo=mariadb install MariaDB-server MariaDB-client MariaDB-compat MariaDB-common

romarito90 commented 8 months ago

Thank you so much @amuehlem

I'm going to use the version 10.3

and I used the command mysql_secure_installation

image

It works

best regards

Romario