I am connecting successfully to a SQL Server database using the following 
code:

DB = Sequel.connect(:adapter=>'tinytds', 
                    :dataserver=>'192.168.1.249\SQL2008', 
                    :database=>'mydatabase',
                    :user=>'myuser',                    
                    :password=>'mypassword')

I am using :dataserver instead of :host because I have a SQL server named 
instance.

How can I convert this to an URI?

I have tried several variations but I always get an Invalid URI error, "the 
tinytds scheme does not accept registry part..."

Regards,
Hector Sansores

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/sequel-talk/-/aF2RJgtR080J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sequel-talk?hl=en.

Reply via email to