You need to log in to create posts and topics.

Quick Fix!! Can't install mysql on centos7?

If you are unable to install MySQL on CentOS and then follow the solution below.

Installing install yum repos as mentioned here on installing MariaDB instead of MySQL also throws an error. The error is:

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

Quick Fix to solve this error:

Follow the list of steps to fix the installation of MySQL error issue: Run the below commands


Run all the above command, It will fix the error and let you install the MySQL on CentOS Successfully. If you have any other possible working solution to fix this issue and then kindly reply to this thread.