Wednesday, July 25, 2018

Re: Oracle Connection Problem

Hi Razibul,

Have you tried to add the host and port? IIRC, the default port is 1521 and you need to fill the host value, otherwise the driver won't know where to connect to.

Also, are you getting any specific errors?

On Wed, Jul 25, 2018 at 10:50 AM, Md. Razibul Hasan Mithu <rhmithu50@gmail.com> wrote:
DATABASES = {      'default': {          'ENGINE': 'django.db.backends.oracle',          'NAME': 'orcl',  # my sid is orcl. is this sid or something else??                  'USER': 'hr',   # my instalation user is hr          'PASSWORD': 'hr',  # Instalation Pass also hr          'HOST': '',          'PORT': '',      }  }


I can't connect oracle in my project. For last 2 days i tried to solve this issue. But still same problem. I can't able to migrate.I am using Oracle 11g.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/03a2ca2e-1ace-4e71-aa13-3f03d32aeb5b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Julio Biason, Sofware Engineer
AZION  |  Deliver. Accelerate. Protect.
Office: +55 51 3083 8101  |  Mobile: +55 51 99907 0554

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAEM7gE3-prUj1QEHH3Sx6x2Nz_3-8daHyBuycBUsMbmhv-i6Bg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment