Yum install MySQL

Source: Internet
Author: User



1, first to the MySQL official online to find;

Website: http://dev.mysql.com/downloads/

Discover the Yum MySQL repot option:



2. Find the MySQL yum repo address in the URL above:

http://dev.mysql.com/downloads/repo/yum/




3. Find the need for a specific system version to find Yum repo




4. Find Quick Instructions:



5, through the reading guidance found that the first need to download and system matching repo:



6, check the system version is:


Cat/etc/redhat-release

Found to be 6.2


Download yum repo rpm using wget:

Before you should use right-click to save the download version of the link:

wget http://dev.mysql.com/get/mysql-community-release-el6-5.noarch.rpm


7. Use

RPM-UVH mysql-community-release-el6-5.noarch.rpm


8. Installation

sudo yum install Mysql-community-server


9. Start the service:

sudo service mysqld start: note is mysqld


View status: Sudo service mysqld status


10. Close the service:

sudo service mysqld stop:



Note: This installation of MySQL is no password, you can login directly, need to change the password

3. Find the need for a specific system version to find Yum repo

Yum install MySQL

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.