Report this

What is the reason for this report?

Can't install mysql on centos7

Posted on July 23, 2018

i cant install mysql . i have tried many ways . install yum repos as mentioned here on installing mariadb instead of mysql . both ends up on these

No package mysql-community-server available.
No package mariadb-server available.
No package mysql-server available.
No package Mariadb-server available.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

What’s wrong with yum install mysql?

It looks like you have missed installing the required RPMs. Please give a try to below steps:

  1. yum install wget

  2. wget https://dev.mysql.com/get/mysql57-community-release-el7-9.noarch.rpm

  3. md5sum mysql57-community-release-el7-9.noarch.rpm

  4. rpm -ivh mysql57-community-release-el7-9.noarch.rpm

  5. yum install mysql-server

Let me know how it goes.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.