In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)05/31 Report--
This article introduces the relevant knowledge of "the reason for the error in the installation of mysql under Linux". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
Wrong version of 1.down MySQL-server-community-5.0.67-0.rhel5.x86_64.rpm, installation error
two。 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 previously installed version
3. View 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
Errors are as follows: error: "mysql-5.0.22-2.1.0.1" specifies multiple packages
There are multiple packages with duplicate names
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. Solve
Rpm-e perl-DBD-MySQL-3.0007-1.fc6.x86_64
……
Delete the related files one by one, then run rpm-e-allmatches mysql-5.0.22-2.1.0.1
Success
7. Install the version under the new down
Rpm-Uvh MySQL-server-community-5.0.67-0.rhel5.i386.rpm
Success
This is the end of the content of "reasons for errors in the installation of mysql under Linux". Thank you for your reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 206
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.