-
-
Save zr2d2/6b26a5d3f8e4a1ff4727 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[zrowe@femadata-mu utils]$ ruby DPA.rb | |
{:user=>"dpa_reset", :password=>"something", :host=>"content.femadata.com", :login_timeout=>7, :timeout=>7, :appname=>"TinyTds", :tds_version=>5, :encoding=>"UTF-8", :port=>1433, :dataserver=>"content.femadata.com:1433"} | |
/opt/rubies/ruby212-2.1.2-p205/lib/ruby/gems/2.1.0/gems/tiny_tds-0.6.2/lib/tiny_tds/client.rb:78:in `connect': Adaptive Server connection failed (TinyTds::Error) | |
from /opt/rubies/ruby212-2.1.2-p205/lib/ruby/gems/2.1.0/gems/tiny_tds-0.6.2/lib/tiny_tds/client.rb:78:in `initialize' | |
from DPA.rb:3:in `new' | |
from DPA.rb:3:in `<main>' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'tiny_tds' | |
client = TinyTds::Client.new user: 'dpa_reset', password: 'IHOiclCR0!Yv', host: 'content.femadata.com' | |
, login_timeout: 7, timeout: 7 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment