Install MySQL5.7 with the Yum source of MySQL

Source: Internet
Author: User
Tags yum repolist

I. Installing the yum source with MySQL configuration

# Install the Yum source for MySQL, below is the RHEL6 series of RPM-UVH http://dev.mysql.com/get/mysql-community-release-el6-5.noarch.rpm# Installing Yum-config-manageryum Install yum-utils-y# disable MySQL5.6 source Yum-config-manager--disable mysql56-community# Enable MySQL5.7 source Yum-config-manager--enable mysql57-community-dmr# Use the following command to see if the configuration is correct yum repolist enabled | grep MySQL

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/57/5A/wKioL1SY183ToG_4AAEh07Jk3jc235.jpg "title=" Rpeolist.png "alt=" Wkiol1sy183tog_4aaeh07jk3jc235.jpg "/>

Check if there is a mysql57-community-dmr this source, as shown in.

Second, yum installation MySQL5.7

# Installing Mysql5.7yum Install Mysql-community-server

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/57/5D/wKiom1SY15Kwk6pHAARS3FhtC9w643.jpg "title=" yum Install.png "alt=" Wkiom1sy15kwk6phaars3fhtc9w643.jpg "/>

Third, start MySQL

# Disable Selinuxsetenforce 0sed-i '/^selinux=/c\selinux=disabled '/etc/selinux/config # start mysqld, modify/etc/before starting MY.CNF configuration file, this document is configured with the default. Service mysqld Start

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/57/5D/wKiom1SY2NChgneUAAvRkNpLAXY980.jpg "title=" 1.png " alt= "Wkiom1sy2nchgneuaavrknplaxy980.jpg"/>

Iv. connecting MySQL and changing the password

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/57/5E/wKiom1SY6L2Tjmb6AAWhSSzlKQM824.jpg "title=" set Passwd.png "alt=" Wkiom1sy6l2tjmb6aawhsszlkqm824.jpg "/>


Resources:

Http://dev.mysql.com/doc/refman/5.7/en/linux-installation-yum-repo.html


This article is from the "Start Linux blog" blog, reproduced please contact the author!

Install MySQL5.7 with the Yum source of MySQL

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.