Oracle Database Connection to TOAD

Issues of Oracle Database Connection to TOAD

Connections to Oracle database via TNS are bit of a painful until you get all the components in the TNS configured correctly. We generally get different types of errors when we try to connect the DB using TOAD.  Usually we get Host, Port & Service Name in the TNS Entry but SID is excluded from it. But if we supply the SID information instead of service name it gets connected easily. If we get the SID for the database we can easily connect to the DB using TOAD.

Solution of Oracle Database Connection by TOAD:

We can connect to any database instance using TOAD by the following steps:

1.       Connect to the database using SQL*Plus as below
Ø  User Name: ORACLE_USER
Ø  Password: ORACLE_password1
Ø  Host String: 156.14.200.90:1542/VISSVC(host:port/Service Name)
Ø  Or conn ORACLE_USER/ORACLE_password1@156.14.200.90:1542/ORAVISSVC (Conn user/password@host:portNumber/ServiceName)

2.       Execute the following script
Ø     SELECT instance_name
            FROM v$instance;
-----------------
ORAVIS_1      

3.       Note the instance name from above script

Solution of Oracle Database Connection to TOAD

                    Create a New Database connection in TOAD like bellow:
Ø  User / Schema:  ORACLE_USER
Ø  Password: ORACLE_password1
Ø  TNS/Database: 156.14.200.90:1542/ORAVIS_1

Ø  Now press connect to connect to the db server

Comments

Popular posts from this blog

XML Publisher Request Fails Due to Output Post Processing Issue

Conditionally mandatory parameters of concurrent program