The install script located using:
cd /usr/local/src
wget http://centos-webpanel.com/cwp-el8-latest
sh cwp-el8-latest
Works perfectly fine on AlmaLinux 8.9 with creating the MariaDB 10.4 repo.
Just wish they would change it to 10.11.
You can also edit the file with nano before running it, and change the repo info manually.
cat > /etc/yum.repos.d/mariadb.repo <<EOF
# MariaDB 10.4 CentOS repository list - created 2020-06-23 23:26 UTC
# http://downloads.mariadb.org/mariadb/repositories/
[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/10.4/centos8-amd64
module_hotfixes=1
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1
EOF
Just edit that section with info you get from:
https://mariadb.org/download/?t=repo-configMake sure to select Red Hat Enterprise Linux 8 under the 'Choose a distribution' menu.
If you server isn't able to connect to the MariaDB repo, then something is going on with your network.
Could be your upstream's IP(s) are blocked.
Also maybe trying to set your servers DNS to Google DNS 8.8.8.8 & 8.8.4.4