LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-25-2010, 03:09 PM   #1
kja_007700
LQ Newbie
 
Registered: Jan 2010
Posts: 25

Rep: Reputation: 0
iODBC configuration problem


I am trying to configure iODBC on Debian Lenny. When i try to test the configuration with iodbctest the following message is printed:

SQLDriverConnect = [MySQL][ODBC 3.51 Driver] Could not determine the driver name; could not lookup setup library. DSN=((null)) SQLSTATE=HY000
ODBC_Connect = [MySQL][ODBC 3.51 Driver] Could not determine the driver name; could not lookup setup library. DSN=((null)) SQLSTATE=HY000


The content of /etc/odbc.ini

Code:
;
;  odbc.ini configuration for MyODBC and MyODBC 3.51 Drivers
;

[ODBC Data Sources]

myodbc      = MySQL ODBC 2.50 Driver DSN 
myodbc3     = MySQL ODBC 3.51 Driver DSN 


[myodbc]
Driver       = MySQL
Description  = MySQL ODBC 2.50 Driver DSN
Server       = localhost
Port         =
User         = root
Password     =
Database     = test
Option       = 3
Socket       = 


[myodbc3]
Driver       = /usr/lib/odbc/libmyodbc.so
Setup        = /usr/lib/odbc/libodbcmyS.so
Description  = MySQL ODBC 3.51 Driver DSN
Server       = localhost
Port         =
User         = root
Password     = password
Database     = ldap_test
Option       = 3   
Socket       = 


[Default]
Driver       = /usr/lib/odbc/libmyodbc.so
Setup        = /usr/lib/odbc/libodbcmyS.so
Description  = MySQL ODBC 3.51 Driver DSN
Server       = localhost
Port         =
User         = root
Password     = password
Database     = ldap_test
Option       = 3
Socket       =
Both libmyodbc.so and libodbcmyS.so do exist in the correct directory. The database ldap_test is created and MySQL is running. I have not been able to find a solution to this problem by using Altavista, Google etc.
 
Old 09-19-2010, 07:27 AM   #2
s_110_z
LQ Newbie
 
Registered: Jan 2010
Posts: 2

Rep: Reputation: 0
Help on ODBC

Hi,

Today i got a problem with installing odbc on debian lenny & when i googling ,i understood that u had similar problem 8 month before !
So, Could you please let me know if u solved your problem & how did you do it ?


Regards
 
  


Reply

Tags
database, mysql



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
DynDns problem... with configuration or with system configuration? dwhitney67 Linux - Software 1 03-04-2009 10:10 AM
question before moving from windows2003 to Linux+apache+php+iodbc+FreeTDS sugar2 Linux - Newbie 6 06-30-2006 12:00 PM
what's wrong with iODBC? emanresu Linux - Software 1 10-05-2004 11:39 PM
Connecting iodbc with Pervasive client odbc jlowry Linux - Software 0 09-28-2004 06:13 PM
X configuration problem - OR - Where did the configuration tool go??? t3kn0lu5t Debian 3 09-25-2003 07:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:26 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration