Thank you! That works!
On 5 mar, 18:29, "robertmalik...@googlemail.com"
<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 database
> hostname or IP.
>
> HTH
> Robert
>
> On Mar 5, 1:03 pm, hugoto <hugo.truc...@gmail.com> wrote:
>
> > 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 database host and database port should work
> > without tnsnames.ora, but I'm getting this error: ORA-12505:
> > TNS:listener does not currently know of SID given in connect
> > descriptor
> > Any clues?
>
> > Thanks in advance
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---