"Reprint" Rhel/centos 7 with Yum install MySQL 5.6

Source: Internet
Author: User
Tags mysql client

Not updated ... Get a job and play, now install the machine ~

Install a MySQL to CentOS 7, reprint an article at a time, and record the following:

Original address: Http://www.phpini.com/mysql/rhel-centos-yum-install-mysql

At the beginning of RHEL and CentOS 7, the expected repository system is MariaDB, basically MariaDB can replace MySQL, but if you still want to continue with MySQL, in addition to the original code of the MySQL Community Server can be encoded, You can also install the official Yum repository provided by Oracle, so you can install MySQL Community Server through YUM. The following will be installed with the CentOS 7 installation of MySQL 5.6:

Install MySQL Repository:

# RPM-UVH http://dev.mysql.com/get/mysql-community-release-el7-5.noarch.rpm

Installation of MySQL server, MySQL client has been included in the server suite:

# yum Install Mysql-community-server

Auto-Activate MySQL

#/usr/bin/systemctl Enable Mysqld

Activate MySQL

#/usr/bin/systemctl Start mysqld

MySQL is preset as an empty password, and the following instructions are modified:

#/usr/bin/mysql_secure_installation

"Reprint" Rhel/centos 7 with Yum install MySQL 5.6

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.