Ed Leafe wrote: > On Jun 13, 2007, at 12:57 PM, Bill Witherspoon wrote: > >> Despite many different iterations on hostname, etc. I'm still getting >> the "Unable to make connection" error when I test the connection. >> >> I've connected to the DB using ODBC and that works. We're using >> Windows >> Authentication currently, and the DB box is inside our LAN so there >> shouldn't be any firewall-type issues. > > Try this at a command prompt: > > C:\> python > >>> import pymssql > >>> conn = pymssql.connect(host="myHost", user="myName", > password="myPassword", > database="myDatabase") > > Of course, substitute the correct values for the parameters. Do you > get a connection? If not, try this at the command prompt: >
-> We're using >> Windows >> Authentication currently, I think that is the 'problem.' No clue what the solution is. I would start by hitting a server that accepts sql auth to make sure all the plumbing is connected. Carl K _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/dabo-users/[EMAIL PROTECTED]
