• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Question Difference between whatprovides mysql-server and mysql -V?

jackoackely

New Pleskian
Hi.

I recently updated MariaDB from 10.4 to 10.5 and everything went just fine. Smooth update, but I noticed something weird. Hopefully someone can help me, because I am really just enthusiast.

# mysql -V
mysql Ver 15.1 Distrib 10.5.5-MariaDB, for Linux (x86_64) using readline 5.1

Looks good, right? But then, I try...

# rpm -q --whatprovides mysql-server
MariaDB-server-10.3.24-1.el7.centos.x86_64
MariaDB-server-10.3.24-1.el7.centos.x86_64

1. Why it shows that DB-server is still 10.3?
2. Why it shows 2 DB-servers, instead of one?

Everything works fine and there is no issues with Plesk, websites or databases. Diagnose & repair shows that there is no issues. Thanks in advance.

Some info:

- CentOS Linux 7.8.2003 (Core)‬
- Plesk Obsidian 18.0.30 Update #1
- Running on VPS since 2018 starting with Plesk Onyx
 
Last edited:
Hi @jackoackely,

Packages may be cached. You can clear the cache by running the command: yum clean all.
Hi! I tried that one, but nothing changed :(

Loaded plugins: fastestmirror
Cleaning repos: PLESK_17_PHP72 PLESK_17_PHP73 PLESK_17_PHP74
: PLESK_18_0_30-extras base extras mariadb plesk-ext-grafana
: plesk-migrator plesk-migrator-tp updates
Other repos take up 144 M of disk space (use --verbose for details)

Anyways, thanks for the help!

Tried to run this one and got another error. Not sure there to start...

# yum check
Loaded plugins: fastestmirror
MariaDB-server-10.3.24-1.el7.centos.x86_64 has missing requires of galera
Error: check all

Should I run next to fix galer?
# curl -sS https://downloads.mariadb.com/MariaDB/mariadb_repo_setup | sudo bash
# sudo yum remove galera
# yum install galera-4

#Edited Okay, I think I manage to fix the issue and now everything got correct version. I did it thought "yum update". But, not I am getting next message in Plesk. Should I lock it or update? It is already 10.5.5, if I check it thought console... I didn't touch galera yet...
1601199581340.png
 
Last edited:
Everything seems to work fine and updates diapered from Plesk. The only remaining problem is that I am not able to perfrom yum check. I get disconnected from SSH after 30 minutes :(
 
Back
Top