Get the App
SLTechnology News&Howtos  ›  Database  › 

Simple steps to install mysql from yum source on CentOS system

Shulou Source: shulou.com Published: 2022-06-01 17:59:50 11月12日 Update

This article mainly gives you a brief description of the simple steps for installing mysql in the yum source of the CentOS system. You can check the relevant professional terms on the Internet or find some related books to supplement them. We will not dabble here, so let's go straight to the topic. I hope this article on the simple steps of installing mysql in the yum source of the CentOS system can bring you some practical help.

It is difficult to install the specified version of mysql in linux. Yum installation is usually the installation of mysql5.1. Now, after unremitting efforts, you can finally install mysql5.5 with yum.

1. Install the yum source for mysql-5.5

Rpm-ivh http://repo.mysql.com/yum/mysql-5.5-community/el/6/x86_64/mysql-community-release-el6-5.noarch.rpm

two。 Modify the installed yum source

Edit the / etc/yum.repos.d/mysql-community.repo file and change the enabled of 5.5to enabled of 5.5and enabled of 5.6to 0

3. Install mysql-5.5

Yum install mysql-community-client mysql-community-devel mysql-community-server

4. Enter mysql

/ usr/bin/mysql_secure_installation modify the mysql password you need

CentOS system yum source installation of mysql simple steps to tell you here, for other related issues you want to know can continue to pay attention to our industry information. Our section will capture some industry news and professional knowledge to share with you every day.

Tags: Steps systems specialties industries difficulties unremitting efforts expertise topics books things content practice passwords documents news terminology sections versions knowledge articles Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno macOS NVidia MariaDB MySQL Docker