Hi,
In both cases, I get the exact same output to the two following commands:
$ rpm -qi mariadb-server
Name : mariadb-server
Epoch : 3
Version : 10.5.13
Release : 1.fc34
Architecture: x86_64
Install Date: Thu 30 Dec 2021 04:22:06 PM UTC
Group : Unspecified
Size : 71001174
License : GPLv2 and LGPLv2
Signature : RSA/SHA256, Thu 02 Dec 2021 03:32:29 PM UTC, Key ID 1161ae6945719a39
Source RPM : mariadb-10.5.13-1.fc34.src.rpm
Build Date : Thu 02 Dec 2021 01:13:13 PM UTC
Build Host :
buildvm-x86-11.iad2.fedoraproject.orgPackager : Fedora Project
Vendor : Fedora Project
URL :
http://mariadb.orgBug URL :
https://bugz.fedoraproject.org/mariadbSummary : The MariaDB server and related files
Description :
MariaDB is a multi-user, multi-threaded SQL database server. It is a
client/server implementation consisting of a server daemon (mariadbd)
and many different client programs and libraries. This package contains
the MariaDB server and some accompanying files and directories.
MariaDB is a community developed fork from MySQL.
$ which mysql
/usr/bin/mysql
The difference, though, is in the output to 'ls -l /usr/bin/mysqladmin':
# Good case, in which I install mariadb before anything else and I can set root password with mysqladmin
# Note that /usr/bin/mysqladmin is a link to mariadb-admin
$ ls -l /usr/bin/mysqladmin
lrwxrwxrwx. 1 root root 13 Dec 2 13:44 /usr/bin/mysqladmin -> mariadb-admin
# Whereas in the bad case, in which mariadb is installed after vim and git and mysqladmin doesn't allow me
# to set root password, /usr/bin/mysqladmin is an executable file and mariadb-admin is not installed
1. I'm running these tests locally in VMs that I create with vagrant and I am using this box: