Manual installation under Centos7 Mysql-5.6.32-1.linux_glibc2.5.x86_64.rpm-bundle

Source: Internet
Author: User

Since CENTOS7 is no longer the MySQL database by default, the degree is manually installed.

Full reference http://www.2cto.com/database/201501/371451.html

Here is a excerpt from the link below and some additions to your actual installation.

Select download MySQL Community server (GPL) version, because MySQL Community server 5.7.14 does not have rpm format file download, here we choose 5.6.32 version of the rpm format file download.

Download get Mysql-5.6.32-1.linux_glibc2.5.x86_64.rpm-bundle.tar file, extract

To enter the Mysql-5.6.32-1.linux_glibc2.5.x86_64.rpm-bundle folder, you can see:

Double-click to install the MYSQL-SERVER-5.6.32-1.LINUX_GLIBC2.5.X86_64.RPM

mysql-client-5.6.32-1.linux_glibc2.5.x86_64.rpm

mysql-devel-5.6.32-1.linux_glibc2.5.x86_64.rpm file (here the order of installation, I was in this order, as for not following this successively, I do not know whether there will be errors).

solutions to incorrect initial login password:

First stop MySQL services service MySQL stop

Then/usr/bin/mysqld_safe--skip-grant-tables & start MySQL (Note that the "&" symbol does not leak)

After the last command is executed, hit a carriage return and enter mysql-u root MySQL

Next update the MySQL root user login password:

Now you are ready to start working with MySQL, and do not do anything to see the link at the beginning of the article.

Manual installation under Centos7 Mysql-5.6.32-1.linux_glibc2.5.x86_64.rpm-bundle

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.