Linux Learning log-------mysql installation

Source: Internet
Author: User

1, download, open http://dev.mysql.com/downloads/mysql/Select the developer version, do not need to register login, click to download the lower left corner has a line of fine print:No Thanks, just start my Download. Click to download !

2, upload the downloaded file to Linux, TAR-XVF Mysql-5.7.4-m14-0.2.m14.el7.x86_64.rpm-bundle.tar release

3, the download system comes with the MARIADB:

1) rpm-e--nodeps mariadb-libs-5.5.33a-3.el7.x86_64

2) rpm-e--nodeps mariadb-libs-5.5.33a-3.el7.x86_64

3) Rpm-e Mariadb-devel–nodeps

3. Install in sequence

RPM-IVH mysql-community-common-5.7.4-0.2.m14.el7.x86_64.rpm

RPM-IVH mysql-community-libs-5.7.4-0.2.m14.el7.x86_64.rpm

RPM-IVH mysql-community-embedded-5.7.4-0.2.m14.el7.x86_64.rpm

RPM-IVH mysql-community-devel-5.7.4-0.2.m14.el7.x86_64.rpm

RPM-IVH mysql-community-embedded-devel-5.7.4-0.2.m14.el7.x86_64.rpm

RPM-IVH mysql-community-client-5.7.4-0.2.m14.el7.x86_64.rpm

RPM-IVH mysql-community-server-5.7.4-0.2.m14.el7.x86_64.rpm

Depending on the prompt, handle the dependency relationship.

4, installation success, start Mysql.service,.

5, MySQL5.7 for the root user randomly generated a password, in error log, about the location of the error log, if the installation is RPM package, the default is/var/log/mysqld.log

6, according to obtain the random password login, executes set PASSWORD = PASSWORD (' 123456 '), Error:

Password complies with security policy .....

The solution, may refer to: https://www.cnblogs.com/ivictor/p/5142809.html, thanks this Daniel!

Documentation Reference:

English MySQL Document: Http://tool.oschina.net/apidocs/apidoc?api=mysql-5.1-zh

English MySQL Document: Http://tool.oschina.net/apidocs/apidoc?api=mysql-5.5-en

----------MySQL installation configuration completed, as recorded on 2018.01.20

  

Linux Learning log-------mysql installation

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.