Hi, I am trying to build a ROR app with Ruby 2.3.3 and Rails 5.0.1 but when connecting to SQl server I am getting an error which says TinyTDS::Error (Adaptive server connection failed) . I am using the latest version of tiny_tds gem (1.3.0)and latest version of activerecord_sqlserver_adapter (5.0). Due to this I am unable to start my app and hence not able to proceed.
Any help on this would be greatly appreciated. Thanks, Spoorthi NG On Monday, April 10, 2017 at 7:47:58 PM UTC-5, Andrei (L.A.) wrote: > > I am getting random timeouts of sql queries (a long import with 300k > inserts). I am wondering if there's a possibility to pass on the :timeout > option to the tinytds adapter as a part of the Sequel.connect statement? > > https://github.com/rails-sqlserver/tiny_tds (ctrl+F timeout) > > I noticed that it is possible to pass the command_timeout option but am > not sure if it's the same thing/gets translated for tinytds. > https://github.com/jeremyevans/sequel/blob/master/doc/opening_databases.rdoc > > Thank you. > -- You received this message because you are subscribed to the Google Groups "sequel-talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sequel-talk. For more options, visit https://groups.google.com/d/optout.
