MariaDB-client conflicts error while trying to update CentOS 7

I have a dedicated server running CentOS 7 and CyberPanel 2.3.2. It is a live server. When I try to update packages using “yum update -y” command, I’m facing this error and the update process stops:

This is the error as text:

Error: MariaDB-client conflicts with MariaDB-server-10.4.26-1.el7.centos.x86_64
 You could try using --skip-broken to work around the problem
** Found 2 pre-existing rpmdb problem(s), 'yum check' output follows:
MariaDB-client-10.5.15-1.el7.centos.x86_64 has installed conflicts MariaDB-server <= ('0', '10.5.10', None): MariaDB-server-10.1.45-1.el7.centos.x86_64
MariaDB-server-10.1.45-1.el7.centos.x86_64 has missing requires of galera

Has anyone faced such situation and have clear steps to follow to fix it? Also, I’d like to know the cause of this issue, as I’m not a very advanced Linux user.
Thank you in advance.