[sqlalchemy] SA-SID issue

2010-06-02 Thread dhanil anupurath
Hi I am using Oracle with SQLalchemy in my application. 1. The SQLalchemy documentation gives the following as the connect string for Oracle sqlalchemy.url=oracle://user:passw...@localhost:1521/ SID_name 2. The above connect string does not seem to work in my application.

Re: [sqlalchemy] SA-SID issue

2010-06-02 Thread Michael Bayer
the behavior here is exactly that which I described at http://groups.google.com/group/sqlalchemy/msg/ab479d4762c24c65 . The presence of the slash invokes the usage of cx_oracle makedsn(), in this case with a blank dsn, whereas when not, sends the hostname localhost as the DSN argument