Mysql latest version of the database installation tutorial (5.7) _mysql

Source: Internet
Author: User
Tags mysql latest version

By default, the 5.1.73 version is installed via Yum under CentOS 6.8, and now the requirement is to install the 5.7 version.

MySQL official website: http://www.mysql.com

MySQL Documentation: http://dev.mysql.com/doc/

---------------------------------------------------------------------------------------------------

First, change the database installation source

Find the download page on the MySQL official website and select the Yum Repository: (http://dev.mysql.com/downloads/repo/yum/)

According to your own system version select the corresponding RPM package download, and install (on the download page to ask whether to login to choose not to login to download immediately):

#wgethttp://repo.mysql.com//mysql57-community-release-el6-8.noarch.rpm

#rpm-ivhmysql57-community-release-el6-8.noarch.rpm

Here, the MySQL database installation source has been changed to support the direct download of the latest version from the official website.

Second, install Mysql-server

#yum Install Mysql-server

Third, the configuration of MySQL

#service mysqld Start

#mysql_secure_installation (for initial installation, prompt for password, check in/var/log/mysqld.log)

The default configuration is basically not modified, and the configuration file is stored in:/etc/my.cnf

MySQL official description document: http://dev.mysql.com/doc/

The above is the entire content of this article, I hope to help you learn, but also hope that we support the cloud habitat community.

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.