Once we have installed MySQL in our system, the next step is to start the MySQL service, which is why we enter the following command: service mysqld start Yum-config-manager -enable mysql56-community (Enable la version 5.6) we must enable it using the following syntax: yum-config-manager -disable mysql57-community (Disable version 5.7) Next we will install the official MySQL releases for updates, remember that we can install different versions of MySQL in the system, the version we have installed is activated by default while in previous versions like 5.6 or 5.5 it is disabled. The above process allows us to download and install all packages related to:
Next we will perform the installation of the latest version of MySQL using the following syntax: yum install mysql-community-server Yum repolist enabled | grep “mysql.*-community.*” How to install MySQL in CentOS 7