[unixODBC-support] ODBC driver manager PATH

Steve Cookson steve.cookson at sca-uk.com
Wed Oct 21 21:24:44 BST 2009


Hi Guys,

I've updated my odbc file in Kubuntu, but I'm still getting the same error.


Here are the relevant details.  If I've missed anything obvious, please
shout.

*Perl*
$gl_dbh=DBI->connect("DBI:ODBC:END_DB") or die "Can't connect ODBC" .
DBI->errstr; 

*Error*
Subroutine Wx::App::OnInit redefined at /home/steve/Documents/Endoscopy
System/Endoscopia/i_Mage_1b008.pl line 5593. 
DBI connect('END_DB','',...) failed: [unixODBC][Driver Manager]Data source
name not found, and no default driver specified (SQL-IM002) at
/home/steve/Documents/Endoscopy System/Endoscopia/i_Mage_1b008.pl line 49 
Can't connect ODBC[unixODBC][Driver Manager]Data source name not found, and
no default driver specified (SQL-IM002) at /home/steve/Documents/Endoscopy
System/Endoscopia/i_Mage_1b008.pl line 49.

*odbc.ini*
[END_DB]
 Description = 'END_DB'
 Driver = 'InterBase_Firebird_ODBC'
 Dbname = '/home/steve/Documents/Endoscopy
System/Endoscopia/DB/ENDOSCOPIA.FDB'
 Server = localhost
 User = USER01
 Password = test
 Role =
 CharacterSet =
 ReadOnly = No
 NoWait = No

*odbcinst.ini*
[InterBase_Firebird_ODBC]
Description		= 'InterBase/Firebird ODBC' 
Driver		= /usr/lib/odbc/libOdbcFb.so
Driver64		= /usr/lib/odbc/libOdbcFb.so
Setup		= /usr/lib/odbc/libOdbcFb.so
Setup64		= /usr/lib/odbc/libOdbcFb.so
UsageCount		= 1
CPTimeout		= 2
CPReuse		= 

[Firebird]
 Description = InterBase/Firebird ODBC Driver
 Driver = /usr/lib/libOdbcJdbc.so
 Setup = /usr/lib/libOdbcJdbcS.so
 Threading = 1
 FileUsage = 1
 CPTimeout =
 CPReuse =

Regards

Steve




More information about the unixODBC-support mailing list