Skip to content

Instantly share code, notes, and snippets.

@zr2d2

zr2d2/DPA.rb Secret

Last active August 29, 2015 14:25
Show Gist options
  • Save zr2d2/6b26a5d3f8e4a1ff4727 to your computer and use it in GitHub Desktop.
Save zr2d2/6b26a5d3f8e4a1ff4727 to your computer and use it in GitHub Desktop.
[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>'
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