Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install mysql with rpm

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)05/31 Report--

This article is about how to install mysql with rpm. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.

The mysql rpm package that comes with RedHat is mysql-3.23.54a-11.i386.rpm. If you don't install mysql when you install the operating system, you install MySQL later.

Shell > rpm-ivh mysql-3.23.54a-11.i386.rpm

Warning: mysql-3.23.54a-11.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e

Error: Failed dependencies:

Perl-DBD-MySQL is needed by mysql-3.23.54a-11

The system will prompt the package dependency relationship, look in the system disk, there is a perl-DBD-MySQL-2.1021-3.i386.rpm package, install it.

Shell > rpm-ivh perl-DBD-MySQL-2.1021-3.i386.rpm

..

Error: Failed dependencies:

Libmysqlclient.so.10 is needed by perl-DBD-MySQL-2.1021-3

Look on the system CD and the relevant documents on google. There is no valuable information about libmysqlclient.so.10 at all. I found a machine that installed mysql when installing the operating system, and used rpm-qa to check the information about mysqlclient, but there was nothing at all.

So try to install the mysql-3.23.54a-11.i386.rpm plus-- nodeps parameter.

Shell > rpm-ivh mysql-3.23.54a-11.i386.rpm-- nodeps

Warning: mysql-3.23.54a-11.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e

Preparing... # [100%]

1:mysql # # [100%]

Reinstall perl-DBD-MySQL-2.1021-3.i386.rpm

Shell > rpm-ivh perl-DBD-MySQL-2.1021-3.i386.rpm

Warning: perl-DBD-MySQL-2.1021-3.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e

Preparing... # [100%]

1:perl-DBD-MySQL # # [100%]

Thank you for reading! This is the end of this article on "how to install mysql with rpm". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it out for more people to see!

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: 0

*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.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report