CentOS 6.5/6.6 Installation (install) MySQL 5.7 The most complete version of the tutorial

Source: Internet
Author: User
Tags yum repolist

STEP1: Check whether the system comes with the installation of MySQL

# yum list installed | grep mysql

STEP2: Delete the system's own MySQL and its dependent commands:

# yum -y remove mysql-libs.x86_64

STEP3: Add the RPM Source to CentOS and select a newer source command:

# wget dev.mysql.com/get/mysql-community-release-el6-5.noarch.rpm# yum localinstall mysql-community-release-el6-5.noarch.rpm# yum repolist all | grep mysql# yum-config-manager --disable mysql55-community# yum-config-manager --disable mysql56-community# yum-config-manager --enable mysql57-community-dmr# yum repolist enabled | grep mysql

STEP4: Install MySQL server command:

install mysql-community-server

STEP5: Start mysql command:

# service mysqld start

STEP6: Check to see if MySQL is self-booting, and set the self-start command to open:

# chkconfig --list | grep mysqld# chkconfig mysqld on

Step7:mysql Security Settings command:

# mysql_secure_installation

Refer to the relevant document address:
Http://www.rackspace.com/know ...
Http://dev.mysql.com/doc/refm ...
Http://www.cnblogs.com/xiaolu ...

    • Published on August 04, 2015
    • More

CentOS 6.5/6.6 Installation (install) MySQL 5.7 The most complete version of the tutorial

Related Article

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.