On Apr 27, 1:47 pm, Sean Scally <[email protected]> wrote: > Hello all, > > I'm trying to use Sequel to connect to SQL Server from an Ubuntu > server. When I use the Sequel.odbc method, the connection works > perfectly. However, I cannot use Sequel.connect to connect to the same > server -- it always returns "[RubyODBC] No connection". > > Since I am using the TAPS gem to try to move data from one server to > another, I have to use the 'connect' method's syntax instead -- that > is what TAPS sends from its command line to Sequel to connect to the > data source. > > I have tried the following syntax from the command line to test the > connection with just Sequel, no TAPS: > > sequel 'odbc://mylogin:mypassw...@mydsnname' > > (where mylogin, mypassword, and mydsnname are all the actual values, > and worked fine with Sequel.odbc in IRB). > > Can anyone help me with what the correct syntax is for 'connect' in > this scenario? I have been banging my head against the wall with this > one for awhile.
What arguments are you providing to Sequel.odbc? Jeremy -- You received this message because you are subscribed to the Google Groups "sequel-talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sequel-talk?hl=en.
