Carlos Daniel Ruvalcaba Valenzuela wrote:
At simple view it could be the connection string where it should be:

provider://user:pwd@host:port/db

Where provider is the name of the database connector/driver, such as
postgresql, oracle, mysql, etc.

Check the SQAlchemy docs on this:

http://www.sqlalchemy.org/docs/core/engines.html

Regards,
Carlos Ruvalcaba


This code works:

import cx_Oracle
import sqlalchemy
c2 = cx_Oracle.connect("sfera/[email protected]:1521/SHELL")
cursor = c2.cursor();
print cursor.execute("select 1 from dual").fetchone()


but the dburi defined in this way into dev.cfg, doesn't:

sqlalchemy.dburi="oracle://sfera:[email protected]:1521/SHELL"

j

--
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
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/turbogears?hl=en.

Reply via email to