LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 06-06-2003, 10:52 AM   #1
LandRoverMan
LQ Newbie
 
Registered: Jun 2003
Location: North Wales, United Kingdom
Posts: 25

Rep: Reputation: 15
Question myODBC and unixODBC


I have unixODBC loaded and running (I can run and see DataManager) and I have myODBC for MySQL loaded.

When I use teh DataManager to create a new DSN I have to rproivde the path to the driver (which I do) but it also asks me for a path to a setup library, which is says is usally called the same as the main driver library (for which database you're using) but it ends with an 'S'. I don't see this anywhere.

Has anyone used myODBC with MySQL and unixODBC?

Or should I try to use MySQL++ API?

Thanks in advance...
 
Old 04-21-2009, 05:52 AM   #2
shrodi
LQ Newbie
 
Registered: May 2005
Posts: 6

Rep: Reputation: 1
I know it's been a while since this thread has been created, but I stumbled across the same problem on Ubuntu and found a solution so maybe it can help others.

Contrary to Mandriva with which I'm a little bit more familiar, I couldn't find the MyODBC setup driver in any of the Ubuntu packages. So I went directly to the MyODBC Web site and picked up the latest Linux ODBC connector for MySQL:

http://dev.mysql.com/downloads/connector/odbc

and voilą! The generic .tar.gz Linux file contains all the needed files (both driver and setup), just copy them where you want them and use them with unixODBC. Hope this helps!
 
Old 04-21-2009, 06:14 AM   #3
LandRoverMan
LQ Newbie
 
Registered: Jun 2003
Location: North Wales, United Kingdom
Posts: 25

Original Poster
Rep: Reputation: 15
Thumbs up

Thanks for the info. I did get it sorted out (but it was a long time ago and I can't remember what I did).

But thanks again for the good info.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
MyODBC not found in RedHat 9? moxieman99 Linux - Software 0 09-03-2005 02:22 PM
myODBC connect errors bwreath Linux - Software 5 06-10-2004 08:56 AM
MyODBC GLIBC Error :unixODBC nbjayme Linux - Software 3 02-24-2004 07:14 AM
OpenOffice1.1 connections to MySQL 4.0.xx through MyODBC MyODBC-3.51.06-1 lsropia Linux - Software 0 10-14-2003 05:17 AM
MySQl and MyODBC and unixODBC LandRoverMan Linux - Software 0 06-20-2003 12:42 PM


All times are GMT -5. The time now is 04:38 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration