Re: Oracle connection without tnsnames.ora

2009-03-05 Thread Ian Kelly
On Mar 5, 2:29 pm, "robertmalik...@googlemail.com" wrote: > Edit settings.py and; > DATABASE_NAME = '(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(Host=db_hostname) > (Port=1521))(CONNECT_DATA=(SID=db_sid)))' > > Replace the db_sid with your database sid and db_hostname the

Re: Oracle connection without tnsnames.ora

2009-03-05 Thread hugoto
Thank you! That works! On 5 mar, 18:29, "robertmalik...@googlemail.com" wrote: > Edit settings.py and; > DATABASE_NAME = '(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(Host=db_hostname) > (Port=1521))(CONNECT_DATA=(SID=db_sid)))' > > Replace the db_sid with your database

Re: Oracle connection without tnsnames.ora

2009-03-05 Thread robertmalik...@googlemail.com
Edit settings.py and; DATABASE_NAME = '(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(Host=db_hostname) (Port=1521))(CONNECT_DATA=(SID=db_sid)))' Replace the db_sid with your database sid and db_hostname the database hostname or IP. HTH Robert On Mar 5, 1:03 pm, hugoto wrote: >

Oracle connection without tnsnames.ora

2009-03-05 Thread hugoto
Hi all, I have a django project using oracle as database engine. In my local machine this works ok with my local tnsnames.ora, but in the server I don't have the permission to write in the oracle client directory, so I cant create the tnsnames.ora. In the docs I've read that setting both the