MySQL Forums
Forum List  »  Connector/ODBC

Unable to uninstall MySQL ODBC Connector on RHEL 5.4
Posted by: Rajesh R
Date: July 17, 2013 03:16AM

We have an existing mysql-odbc connector installed on Linux-RHEL machine.
Here is the proof of installation.
[root@Config5364Lvm0 Mysql_ODBC_Connectors]# rpm -qa | grep mysql
mysql-connector-odbc-5.2.5-1.rhel5

But we have some connectivity issue with currently installed MySQL ODBC connector. So we wanted to un-install and re-install this connector.

When I try to un-install, I get below error.
[root@Config5364Lvm0 Mysql_ODBC_Connectors]# rpm -e mysql-connector-odbc-5.2.5-1.rhel5
[ERROR] SQLInstaller error 6: Unable to find component name
error: %preun(mysql-connector-odbc-5.2.5-1.rhel5.x86_64) scriptlet failed, exit status 1

When I try to replace the installation, get some different error.
[root@Config5364Lvm0 Mysql_ODBC_Connectors]# pwd
/u01/app/dq_admin/Mysql_ODBC_Connectors
[root@Config5364Lvm0 Mysql_ODBC_Connectors]# rpm -iv --replacepkgs mysql-connector-odbc-5.2.5-1.rhel5.x86_64.rpm
Preparing packages for installation...
mysql-connector-odbc-5.2.5-1.rhel5
[ERROR] SQLInstaller error 6: Unable to find component name
error: %post(mysql-connector-odbc-5.2.5-1.rhel5.x86_64) scriptlet failed, exit status 1

And the fresh installation says, rpm already installed.
[root@Config5364Lvm0 Mysql_ODBC_Connectors]# rpm -i mysql-connector-odbc-5.2.5-1.rhel5.x86_64.rpm
package mysql-connector-odbc-5.2.5-1.rhel5.x86_64 is already installed

Tried several ways killing hours and have no idea on how to resolve this. Currently blocked with some testing of our application.
Thus need your kind assistance on getting mysql_odbc connector working. Thanks much.

Options: ReplyQuote


Subject
Written By
Posted
Unable to uninstall MySQL ODBC Connector on RHEL 5.4
July 17, 2013 03:16AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.