Can't install mysql on centos7

July 23, 2018 2k views

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.

2 Answers

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

  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.

Have another answer? Share your knowledge.

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