Could you kindly advise on how I should do a chkconfig and uninstalling mysql rpm on Red hat ES.Please check the errors that I'm getting below.
I need to uninstall MySQL completely from my linux system ver 2.4.21-37 and use the chkconfig command to switch it on permanently after reinstalling it but I'm getting the below error on both my servers.My SQL is installed and the mysqld is running.
klmback:mms$ rpm -e mysql*
error: package mysql-3.23.58-16.RHEL3.1.i386.rpm is not installed
error: package mysql-3.23.58-1.i386.rpm is not installed
error: package mysql-bench-3.23.58-16.RHEL3.1.i386.rpm is not installed
error: package mysql-client-3.23.58-1.i386.rpm is not installed
error: package mysql-devel-3.23.58-16.RHEL3.1.i386.rpm is not installed
error: package mysql-server-3.23.58-1.72.i386.rpm is not installed
klmback:mms$ rpm -e MySQL*
error: package MySQL is not installed
error: package MySQL-client-4.0.21-0.i386.rpm is not installed
error: package MySQL-client-standard-4.1.16-1.rhel3.i386.rpm is not installed
error: package MySQL-devel-standard-4.1.16-1.rhel3.i386.rpm is not installed
error: package MySQL-python-0.9.1-6.i386.rpm is not installed
error: package MySQL-server-4.0.21-0.i386.rpm is not installed
error: package MySQL-server-standard-4.1.16-1.rhel3.i386.rpm is not installed
error: package MySQL-shared-standard-4.1.16-1.rhel3.i386.rpm is not installed
klmback:mms$ rpm -qa | grep i mysql
grep: mysql: No such file or directory
klmback:mms$ rpm -qa | grep -i mysql
MySQL-client-standard-4.1.21-0.rhel3
MySQL-server-standard-4.1.21-0.rhel3
klmback:mms$
klmback: mms logged out at Wed Jan 3 17:04:15 SAST 2007
Connection to klmback closed.
klmdisp:mms$ chkconfig
-bash: chkconfig: command not found
klmdisp:mms$ chkconfig mysqld on
-bash: chkconfig: command not found
klmdisp:mms$
I tried to install the rpm packed for chkconfig but does not want to install.
after removing the mysql rpm , try to remove the database where u have created using the mysql commands and remove the service port from /etc/services and application directory /opt/mysql to completley uninstall the software
I managed to switch on the mysqld using chkconfig from my other server.
I also manged to remove mysql completely but it's still giving me a headich cause not it does not wan't to install.I have pasted a long screen shot of how I'm intalling it including the package that I install for mysql these same packages are installed on the other server and are working 100% please have a look below I know it's a long post probable you will pickup what I'm doing wrong.
Thanks Prashant for the reply, what you suggesting is already been done.The reason I'm using mysql 3 it's because of the application software that I'm using.
Anyone with any knowledge of why I'm getting conflicts when installing mysql client.
klmback:mms# rpm -ivh --nodeps mysql-client-3.23.58-1.i386.rpm
warning: mysql-client-3.23.58-1.i386.rpm: V3 DSA signature: NOKEY, key ID e01260f1
Preparing... ########################################### [100%]
file /usr/bin/mysqladmin from install of mysql-client-3.23.58-1 conflicts with file from package mysql-server-3.23.58-1.72
Actually this is due to mysql-server. You have installed mysql-server-3.23.58-1.72 on the server but the mysql client version is mysql-client-3.23.58-1.i386.rpm. This is a version mismatch issue
The Red Hat software that I'm using for the servers is Red hat ES 3 with patch 8 this only comes with mysql server not the client.When you install my sql from the cd it does not work.Any ideas guys as I had told you the rpm packages Server/Client are working 100% on the other server but I'm getting conflicts on this server when intalling them.