Excerpts from dhanil anupurath's message of Tue Apr 27 07:22:45 -0300 2010:
> I am using Sqlalchemy with Oracle backend in my project.
> I am running into listener issues with the Oracle database.
> 
> Here are the steps that I am following:
> 
> 1. My connection string.
>       sqlalchemy.url=oracle://root::<password>@localhost:1521/orcdb
> 
> 2. Environment variables .....
>     export ORACLE_HOME=/usr/lib/oracle/xe/app/oracle/product/10.2.0/
> server
>     export PATH=$PATH:$ORACLE_HOME/bin
>     export LD_LIBRARY_PATH=$ORACLE_HOME/lib
>     export ORACLE_SID=orc10g
> 
> The following is the error that I get when my project tries to connect
> to the Oracle db.
> 
> Traceback (most recent call last):
> 
>   File "/root/tg2env/lib/python2.4/site-packages/SQLAlchemy-0.5.6-
> py2.4.egg/sqlalchemy/engine/strategies.py", line 80, in connect
>     raise exc.DBAPIError.instance(None, None, e)
> sqlalchemy.exc.DatabaseError: (DatabaseError) ORA-12505: TNS:listener
> does not currently know of SID given in connect descriptor
>  None None
> 
> Please give suggestions.
> 

AFAIK, Oracle XE SID by default is XE. Are you sure yours is
orc10g?

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalch...@googlegroups.com.
To unsubscribe from this group, send email to 
sqlalchemy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en.

Reply via email to