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

Installation steps of MYSQL5.0 under redhat AS4

2025-02-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

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

This article mainly introduces "the installation steps of MYSQL5.0 under redhat AS4". In the daily operation, I believe that many people have doubts about the installation steps of MYSQL5.0 under redhat AS4. The editor consulted all kinds of materials and sorted out simple and easy-to-use operation methods. I hope it will be helpful to answer the doubts of "installation steps of MYSQL5.0 under redhat AS4". Next, please follow the editor to study!

Delete and install MYSQL 5.0under redhat AS4. When installing the redhat operating system, you may pack your own mysql, but the version of mysql that comes with it is too low, generally 4.0. first delete the old mysql, and then install the higher version of mysql.

We need to learn to use the command rpm-qa to query the RPM of the corresponding mysql we have installed, and then uninstall these packages one by one

[root@localhost f] # rpm-qa | grep mysql

Mysql-4.1.12-3.RHEL4.1

Uninstall process: start with the bottom package, because some things are in order. The method is:

[root@svnserver] # rpm mysql-4.1.12-3.RHEL4.1

If the following error occurs when uninstalling mysql-devel:

[root@localhost f] # rpm-e mysql-4.1.12-3.RHEL4.1

Error: Failed dependencies:

Libmysqlclient.so.14 is needed by (installed) cyrus-sasl-sql-2.1.19-5.EL4.i386

Libmysqlclient.so.14 is needed by (installed) dovecot-0.99.11-2.EL4.1.i386

So, you need to delete dovecot-0.99.11-2.EL4.1.i386 in reverse order, then cyrus-sasl-sql-2.1.19-5.EL4.i386, and finally, you can delete mysql-devel completely, and so on.

[root@localhost f] # rpm-e dovecot-0.99.11-2.EL4.1.i386

[root@localhost f] # rpm-e cyrus-sasl-sql-2.1.19-5.EL4.i386

Start uninstalling

[root@localhost f] # rpm-e mysql-4.1.12-3.RHEL4.1

Install MYSQL

[root@localhost f] # rpm-I MySQL-server-community-5.0.45-0.rhel4.i386.rpm

[root@localhost f] # rpm-I MySQL-client-community-5.0.45-0.rhel4.i386.rpm

[root@localhost f] # mysqladmin-u root password '123456'

Done.

At this point, the study on the "installation steps of MYSQL5.0 under redhat AS4" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!

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