MySQL client on RHEL
I have a statistical application running on RHEL 6.2. One of the data source is a MySQL 5.1 DB running on a WIN platform. I need to make ODBC or MySQL connection to retrieve data.
What I did:
I have checked yum and selected the appropriate unixOdbc and installed w/o problem.
downloaded MySQL yum repository, installed using yum, updated it, then used it to install odbc/connector.
I only see a 0 size odbc.ini in /etc and i am not sure where to look for the odbc/connector.
Installed: unixODBC.x86_64 0:2.2.14-14.el6 Complete --- Installed: mysql-connector-odbc.x86_64 0:5.3.4-1.el6 Complete!
I know that setting up environment variables is the next part and setting up DSN (odbc.ini) but I am not sure where to look (I have run searches using find cmds but not getting anything back)
Any insight is appreciated.
---------- Post updated at 04:47 PM ---------- Previous update was at 04:34 PM ----------
This is the yum list installed output so this is reporting mysql components were installed:
mysql.x86_64 5.1.69-1.el6_4 @rhel-x86_64-server-6.4.z mysql-community-release.noarch el6-5 @/mysql-community-release-el6-5.noarch mysql-connector-odbc.x86_64 5.3.4-1.el6 @mysql-connectors-community mysql-libs.x86_64 5.1.69-1.el6_4 @rhel-x86_64-server-6.4.z mysql-server.x86_64 5.1.69-1.el6_4 @rhel-x86_64-server-6.4.z ... unixODBC.x86_64 2.2.14-14.el6 @rhel-6-server-eus-rpms
|Thread Tools||Search this Thread|
|More UNIX and Linux Forum Topics You Might Find Helpful|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Apache,php,mysql, and jdk 1.6 update 20 installation on RHEL 5.5||vasdaax||Red Hat||1||03-05-2011 09:53 AM|
|Rhel Client v6 and Flash player problem||oulutas||Red Hat||0||02-15-2011 01:59 AM|
|Samba Client for RHEL 4||guidovans||Red Hat||5||07-26-2010 09:26 AM|
|DBI with MySQL client library compile on Solaris||photon||Solaris||1||01-29-2010 02:02 AM|
|mysql client||hcclnoodles||Solaris||1||06-21-2009 07:17 PM|