On Jun 18, 2007, at 7:51 PM, Bill Witherspoon wrote:
> The problem turns out to be the host of "192.168.51.26:1433" vs.
> "192.168.51.26". I added the following to pymssql.py and all is well:
> (starting at line 341)
>
> if host != "":
> dbhost = host.split(":")[0]
> #print "pymssql dbhost = ",dbhost
> #dbhost = host
>
> This effectively strips the port out of the host parameter. I'm not
> sure
> that this is the right fix, or the right place to this? Perhaps you
> would know better. This would seem to eliminate any hope of Dabo/
> pymssql
> working with a Sql Server running on a non-standard port.
The code in dbMsSQL deliberately puts the port in with the host, as
that was the only way that it worked previously. So you're saying
that your site only worked if the port was not part of the host?
-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com
_______________________________________________
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]