Because a lower version of mysqlserver has been installed on the Linux server in use, when the rpm package is used for installation, a version conflict is prompted and the installation cannot continue. Because
An earlier version of mysql server has been installed on the Linux server in use. When the rpm package is used for installation, a version conflict is prompted and the installation cannot proceed. Because
An earlier version of mysql server has been installed on the Linux server in use. When the rpm package is used for installation, a version conflict is prompted and the installation cannot proceed.
The solution is as follows:
1. First, find all the mysql instances installed in the system.
# Rpm-qa | grap-I after mysql runs this command, all lists are displayed.
Mysql-4.1.20-1.RHEL4.1
Mysqlclient10-3.23.58-4.RHEL4.1
2. Force 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 the files of earlier versions:
# Rpm-f/etc/my. cnf
# Rpm-rf/usr/var/lib/mysql
Now you can perform a new installation of mysql, the required software package:
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
4
Okay!
Upload the downloaded software package to the Linux server and start installation (note the installation sequence)