Adding MYSQL Repository getting failed

Hi I am trying to add mysql repository into my centos7 but it is giving error.
Please help with resolution.

Hi @er.nir796 ,
Can you please share the download site link?

Regards,

I am able to download the rpm file.

wget https://dev.mysql.com/get/mysql80-community-release-el8-4.noarch.rpm

Please check this method: -

Hi The issue of adding repository is now resolved after following correct process,
But when I am trying to install the mysql-server it is giving error please find below snap-

Hi @er.nir796 ,
Please check the OS version before installing the mysql pkg.
Version 8 is not compatible with CentOS 7.
Try this one -

wget https://repo.mysql.com/mysql80-community-release-el7-6.noarch.rpm

Okay Thanks I will try to get it done with lower version.