Mysql installation (conflict) In Linux _ MySQL

Source: Internet
Author: User
Tags dovecot
Install (conflict) bitsCN.com in mysql in Linux

1. down error mysql version MySQL-server-community-5.0.67-0.rhel5.x86_64.rpm, installation error

2. install the version under the new down

Rpm-Uvh MySQL-server-community-5.0.67-0.rhel5.i386.rpm

The error is as follows:

Error: Failed dependencies:

MySQL conflicts with mysql-5.0.22-2.1.0.1.x86_64

MySQL conflicts with mysql-5.0.22-2.1.0.1.i386

MySQL-server conflicts with mysql-server-5.0.22-2.1.0.1.x86_64

Conflict with previous installed versions

3. view the previously installed mysql

Rpm-q mysql

Mysql-5.0.22-2.1.0.1

Mysql-5.0.22-2.1.0.1

4. delete

Rpm-e -- nodeps mysql-5.0.22-2.1.0.1

Error: "mysql-5.0.22-2.1.0.1" specifies multiple packages

Multiple named packages

5. delete all

Rpm-e -- allmatches mysql-5.0.22-2.1.0.1

The error is as follows:

Error: Failed dependencies:

Libmysqlclient. so.15 () (64bit) is needed by (installed) perl-DBD-MySQL-3.0007-1.fc6.x86_64

Libmysqlclient. so.15 () (64bit) is needed by (installed) mysql-server-5.0.22-2.1.0.1.x86_64

Libmysqlclient. so.15 () (64bit) is needed by (installed) libdbi-dbd-mysql-0.8.1a-1.2.2.x86_64

Libmysqlclient. so.15 () (64bit) is needed by (installed) dovecot-1.0-1.2.rc15.el5.x86_64

Libmysqlclient. so.15 () (64bit) is needed by (installed) mysql-connector-odbc-3.51.12-2.2.x86_64

Libmysqlclient. so.15 (libmysqlclient_15) (64bit) is needed by (installed) perl-DBD-MySQL-3.0007-1.fc6.x86_64

Libmysqlclient. so.15 (libmysqlclient_15) (64bit) is needed by (installed) mysql-server-5.0.22-2.1.0.1.x86_64

Libmysqlclient. so.15 (libmysqlclient_15) (64bit) is needed by (installed) libdbi-dbd-mysql-0.8.1a-1.2.2.x86_64

Libmysqlclient. so.15 (libmysqlclient_15) (64bit) is needed by (installed) dovecot-1.0-1.2.rc15.el5.x86_64

Libmysqlclient. so.15 (libmysqlclient_15) (64bit) is needed by (installed) mysql-connector-odbc-3.51.12-2.2.x86_64

Libmysqlclient_r.so.15 () (64bit) is needed by (installed) mysql-server-5.0.22-2.1.0.1.x86_64

Libmysqlclient_r.so.15 () (64bit) is needed by (installed) MySQL-python-1.2.1-1.x86_64

Libmysqlclient_r.so.15 () (64bit) is needed by (installed) mysql-connector-odbc-3.51.12-2.2.x86_64

Libmysqlclient_r.so.15 (libmysqlclient_15) (64bit) is needed by (installed) mysql-server-5.0.22-2.1.0.1.x86_64

Libmysqlclient_r.so.15 (libmysqlclient_15) (64bit) is needed by (installed) MySQL-python-1.2.1-1.x86_64

Libmysqlclient_r.so.15 (libmysqlclient_15) (64bit) is needed by (installed) mysql-connector-odbc-3.51.12-2.2.x86_64

Mysql = 5.0.22-2.1.0.1 is needed by (installed) mysql-server-5.0.22-2.1.0.1.x86_64

Mysql is needed by (installed) MySQL-python-1.2.1-1.x86_64

Mysql is needed by (installed) libdbi-dbd-mysql-0.8.1a-1.2.2.x86_64

6. Solution

Rpm e perl-DBD-MySQL-3.0007-1.fc6.x86_64

......

Related files are deleted one by one, and then run the rpm-e -- allmatches mysql-5.0.22-2.1.0.1

Successful

7. install the version under the new down

Rpm-Uvh MySQL-server-community-5.0.67-0.rhel5.i386.rpm

Successful

It's really not easy. if you encounter the same situation, you can refer

BitsCN.com

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.