Re: Oracle Connection Problem

2018-07-26 Thread Kasper Laudrup
Hi Razibul, On 2018-07-26 02:43, Md. Razibul Hasan Mithu wrote: In oracle database ,what does NAME and HOST mean? Can you tell me in details? NAME is the name of the database, HOST is the hostname of the server running the database. Details here: https://docs.djangoproject.com/en/2.0/ref/d

Re: Oracle Connection Problem

2018-07-25 Thread Md. Razibul Hasan Mithu
In oracle database ,what does NAME and HOST mean? Can you tell me in details? -- 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+unsubscr...@googlegrou

Re: Oracle Connection Problem

2018-07-25 Thread Julio Biason
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 < rhmith...@gmail.com

Oracle Connection Problem

2018-07-25 Thread Md. Razibul Hasan Mithu
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': '', '

Re: Django & Oracle connection problem

2013-05-16 Thread Jani Tiainen
If you want just to connect Oracle but not run server locally using instant client is much more easier option to setup. On Wed, 15 May 2013 02:43:36 -0700 (PDT) Michael Van wrote: > I have the same error when python managment runserver : > cx_Oracle.DatabaseError: ORA-28547: connection to serv

Re: Django & Oracle connection problem

2013-05-15 Thread Dylan Klomparens
Oops! I was thinking about a different problem, and realized that I gave you some bad information. Please disregard the last message. I will paste some of the installation instructions for the Oracle Full Client I wrote up for my organization: Create a Linux user called 'oracle'. Create the direc

Re: Django & Oracle connection problem

2013-05-15 Thread Dylan Klomparens
This bug was filed as ticket 19720 ( https://code.djangoproject.com/ticket/19720) and resolved. It should not be a problem if you are using version 1.4.* or 1.5.* of Django. Additionally, the fact that you get the same information when you attempt to login with another SQL client leads me to believ

Re: Django & Oracle connection problem

2013-05-15 Thread Michael Van
I have the same error when python managment runserver : cx_Oracle.DatabaseError: ORA-28547: connection to server failed, probable Oracle Net admin error and this Error infomation is the same when I type sqlplus try to login. My os is Xubuntu13.10, and I installed oracle-instance on ubuntu, so I

Re: Django & Oracle connection problem

2013-01-25 Thread Dylan Klomparens
Hmm, ok so I guess having a different user name isn't causing the problem. I was able to connect to the database from the webserver using SQL Developer, and I am sure the credentials are correct. Are there any configuration steps that I need to perform for Instant Client or cx_Oracle? So far, I

Re: Django & Oracle connection problem

2013-01-25 Thread Dan Gentry
You've probably already tried the simple things: - Confirm that the server name and port are correct. - Ensure that firewall/routing rules will allow the connection. - Try a simple connection on the same box with sqlplus. Walking through this list has helped me a number of times.

Re: Django & Oracle connection problem

2013-01-24 Thread akaariai
On 25 tammi, 00:27, Dylan Klomparens wrote: > I have a Django program that is connecting to an Oracle database. In my > settings.py file I have this configuration: > > DATABASES = { >   'default': { >     'ENGINE': 'django.db.backends.oracle', >     'NAME': 'xe', >     'USER': 'MY_USER_NAME', >  

Django & Oracle connection problem

2013-01-24 Thread Dylan Klomparens
I have a Django program that is connecting to an Oracle database. In my settings.py file I have this configuration: DATABASES = { 'default': { 'ENGINE': 'django.db.backends.oracle', 'NAME': 'xe', 'USER': 'MY_USER_NAME', 'PASSWORD': 'abcdefghijklmnopqrstuvwxyz', 'HOST': 'db