All Forums |
Register |
Login |
Search |
Subscriptions |
My Profile |
Inbox |
Tool Warehouse |
FAQs |
Resources |
Help |
Member List |
Address Book |
Logout |
|
|
ODBC problem
|
Logged in as: Guest |
Users viewing this topic: none |
|
Login |
|
|
ODBC problem - Jun. 16, '05, 7:54:42 AM
|
|
|
xguzman
Posts: 8
Joined: May 19, '04,
Status: offline
|
Sorry I'm posting this here, but the new post does not appear on the database forum.
I have a small perl code to try to connect to a database, when I run it I got the odbc list so I try to open one and got another error:
$ ./tdb.pl
Driver = DBM
Driver = ExampleP
$ ./tdb.pl
Driver = DBM
Driver = ExampleP
Driver = File
Driver = ODBC
Driver = Proxy
Driver = Sponge
Driver = Sybase
Datasource = DBI:ODBC:demo
Datasource = DBI:ODBC:orasvr
Datasource = DBI:ODBC:orasvr2
Datasource = DBI:ODBC:sqlsvr
Datasource = DBI:ODBC:northwind
Datasource = DBI:ODBC:thames
DBI connect('northwind','',...) failed: [unixODBC][Driver Manager]Can't initiate
unicode conversion (SQL-IM003)
[unixODBC][Driver Manager]Can't open lib '/usr/local/easysoft/oob/client/lib/lib
esoobclient_r.so' : /usr/local/easysoft/oob/client/lib/libesoobclient_r.so: cann
ot open shared object file: No such file or directory (SQL-01000)(DBD: db_login/
SQLConnect err=-1) at ./tdb.pl line 33
Couldn't connect to database:[unixODBC][Driver Manager]Can't initiate unicode co
nversion (SQL-IM003)
[unixODBC][Driver Manager]Can't open lib '/usr/local/easysoft/oob/client/lib/lib
esoobclient_r.so' : /usr/local/easysoft/oob/client/lib/libesoobclient_r.so: cann
ot open shared object file: No such file or directory (SQL-01000)(DBD: db_login/
SQLConnect err=-1) at ./tdb.pl line 33.
What I try to do is to open a MS Access database defined as a System DNS....
I reviewed information about DBI on different perl sites and they gave me the same sample to connect but I keep getting the same error described above...
Any help will be appreciated....
~Xavier Guzman
LBM Systems
|
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
|
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts |
|
|
|