centos6.5_x64 Uninstall System original MySQL

Source: Internet
Author: User

1. Check if there is a MySQL version of the system

Rpm-qa | grep MySQL

2, delete the old version of the opening files and libraries (Rpm-e--nodeps XXX)

Rpm-e--nodeps mysql-5.1.52-1.el6_0.1.i686rpm-e--nodeps mysql-libs-5.1.52-1.el6_0.1.i686rpm-e--nodeps QT-MYSQL-4.6.2-20.EL6.I686RPM-E--nodeps mysql-server-5.1.52-1.el6_0.1.i686

3, find the old version of the residual files

Find/-name MySQL

4, delete the old version of the residual files (rm-rf xxx)

rm-rf/var/lib/mysqlrm-rf/var/lib/mysql/mysqlrm-rf/usr/local/src/php-5.4.39/ext/mysqlrm-rf/usr/lib/perl5/auto/ Dbd/mysqlrm-rf/usr/lib/perl5/dbd/mysql

5. Find out again if MySQL remains

Rpm-qa | grep MySQL

Done ~

centos6.5_x64 Uninstall System original MySQL

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.