On Sep 6, 2006, at 4:23 PM, Achim Domma wrote:
> Using adodbapi one would simply have to use another connection
> string in
> the case that no user is given. make_connection_string would have to
> look like this:
>
> if not "user" in keys:
> [["Provider=SQLOLEDB;Data Source=%s;Initial Catalog=%s;
> Integrated Security=SSPI;" % (keys["host"], keys["database"])],
> {}]
> else:
> [["Provider=SQLOLEDB;Data Source=%s;User Id=%s;Password=%s;
> Initial Catalog=%s" % (keys["host"], keys["user"], keys
> ["password"],
> keys["database"])], {}]
>
> Would you accept a patch for this?
sure ! might want to test it though, im not sure if a blank "user"
comes through in the dictionary if none is specified in the URL...
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Sqlalchemy-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users