CentOS 6.4 MySQL Installation

Source: Internet
Author: User

CentOS 6.4 MySQL Installation

1. Remove the original MySQL

Rpm-qa | grep mysql//This command will check if the MySQL database is already installed on the operating system

If there is, we can unload it by RPM-E command or rpm-e--nodeps command.

Rpm-e--nodeps mysql-libs-5.1.66-2.el6_3.x86_64

After the deletion we can pass Rpm-qa | grep mysql command to see if MySQL has been uninstalled successfully!!

2. install MySQL through yum
    Yum List | grep MySQL

Yum install-y mysql-server MySQL Mysql-deve

     Rpm-qi Mysql-server See the version of the mysql-server you just installed

Service mysqld Start

CentOS 6.4 MySQL Installation

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.