Dbi odbc problem

Hello Everyone,

I’m currently trying to connect to a couple ODBC data sources via the
DBI module. When trying to connect to the first source, everything works
perfectly. When trying to connect to the second I receive the following

‘rescue in connect’ : HY000 (1) Missing connection parameters

my code is as follows:

require ‘dbi’

The first data source is a SQLExpress data source and the second is a
jBASE data source.

Some extra info:
I have also written a small module in VB that can connect without
problems to both data sources using the VB ODBC library. However, when I
try to connect using that module without specifying the DSN anywhere
except for in the connection string, the same error is generated.

Any help would be appreciated!



This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs