Skip to content

Undefined method connect for TinyTds::Client In Windows #349

Closed
@sithara

Description

@sithara

I 'm trying to install tiny_tds in my windows machine.

This is the result I get when I tsql -C

[TinyTds][v1.1.0][tsql]: C:/Ruby22/lib/ruby/gems/2.2.0/gems/tiny_tds-1.1.0-x86-
ingw32/exe/tsql.EXE

This is the error message I get when I try executing
TinyTds::Client.new(username: "xx", password: "xxx", host: "xxxx", database: "xxxxxx")


NoMethodError: undefined method `connect' for #<TinyTds::Client:0x2eda828>
       from C:/Ruby22/lib/ruby/gems/2.2.0/gems/tiny_tds-1.1.0-x86-mingw32/lib/t
iny_tds/client.rb:53:in `initialize'
       from (irb):12:in `new'
       from (irb):12
       from C:/Ruby22/bin/irb:11:in `<main>'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions