Failed to download metadata for repo 'mariadb'

Hi, I solved the problem by updating to maria 10.5 and editing the file in /etc/yum.repos.d/mariadb.repo adding;
[mariadb]
name = MariaDB
baseurl = Index of /yum/10.5/rhel8-amd64/
module_hotfixes=1
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1

Thanks for your interest