Considerations for installing MySQL source code scr. rpm

Source: Internet
Author: User

Considerations for installing MySQL source code scr. rpm

The rpm installation package is usually a Binary package or a Source package. When using the source code to install MySQL, the source code package downloaded on the official website is usually scr. rpm format, rather than the direct tar package. To solve this problem, you must first use the rpm command to install the source code and then compile and install it. This article describes this method.

1. Download the source code package

2. Install rpm

# After installation, the tar file of its source code is usually located in the/usr/src directory.

For example, the installation source file of mysqlis mysql-5.6.21.tar.gz.

# Decompress the tar file

3. Install MySQL with source code

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.