Replies: 1 comment 5 replies
-
Looks like a tiny_tds issue. If you can get this to work using tiny_tds directly, but still cannot get it to work using Sequel, post how you can get it to work using tiny_tds. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
My company moved to a cloud ERP and I need to connect to it but having some issues.
First to say that I can successfully connect via tsql command line
tsql -H rodb.erpsaas.com -D db_name -U username -p 50135 -P 'password'
I need to point out that this command only worked by enclosing password in the single quotes. Maybe because it contains special characters such as \ and | which I don't think I can change, but it works as posted above
Now, in my roda code I have the following:
CLOUD = Sequel.connect(:adapter => "tinytds", :username => 'username', :password => 'password', :host => "rodb.erpsaas.com", :port => 50135, :azure => true, :ansi => true, :textsize => 64000000)
and I'm getting an error:
TinyTds::Error: Login failed for user 'username@rodb'.
This is an old legacy app using sequel 4.48 if that matters.
Beta Was this translation helpful? Give feedback.
All reactions