In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
This article is to share with you about how to deal with mysql installation path conflicts under linux. The editor thought it was very practical, so I shared it with you as a reference. Let's follow the editor and have a look.
The solution to the conflict of the installation path of mysql under linux: first find out all the mysql installed in the system, then delete the list one by one, the code is [rpm-f / etc/my.cnf], and finally install the relevant mysql software.
Solution to mysql installation path conflict under linux:
Because an earlier version of mysql server is already installed on the Linux server being used, when installing with the rpm package, it is prompted that the version conflicts and the installation cannot proceed.
Since you don't want the old data, the solution is this:
1. Find out all the mysql installed in the system first
# rpm-qa | grap-I mysql displays all lists after running this command
Mysql-4.1.20-1.RHEL4.1
Mysqlclient10-3.23.58-4.RHEL4.1
2. Delete the list one by one:
# rpm-ev-nodeps mysql-4.1.20-1.RHEL4.1
# rpm-ev-- nodeps mysqlclient10-3.23.58-4.RHEL4.1
Manually delete several files from the old version:
# rpm-f / etc/my.cnf
# rpm-rf / usr/var/lib/mysql
You can now install mysql completely, with the required software packages:
3 Software to be installed
MySQL-client-5.0.22-0.i386.rpm MySQL client software
MySQL-server-5.0.22-0.i386.rpm MySQL server software
Rpm-ivh MySQL-client-5.0.22-0.i386.rpm
Rpm-ivh MySQL-server-5.0.22-0.i386.rpm
Thank you for reading! On the linux mysql installation path conflicts how to share here, 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 and let more people see it.
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.
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.