LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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, 04: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, 08: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


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


All times are GMT -5. The time now is 12:51 AM.

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