Can't install mysql on centos7

  • Posted July 23, 2018
  • MySQL

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.


Submit an 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.

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.

What’s wrong with yum install mysql?