Solved

Using TOAD

Posted on 2004-04-01
8
2,310 Views
Last Modified: 2008-03-10
Can we connect to my remote database via using toad?
regards
0
Comment
Question by:joyjohn
  • 4
  • 2
  • 2
8 Comments
 
LVL 6

Expert Comment

by:musdu
ID: 10738984
Hi,

if you add your remote db to your tnsnames.ora file, you can connect it using T.O.A.D.

regards
0
 

Author Comment

by:joyjohn
ID: 10739044
how can i do that?
I hv no idea!
0
 
LVL 25

Accepted Solution

by:
lwadwell earned 30 total points
ID: 10739227
Hi joyjohn,
to use TOAD you must have the Oracle Client installed.  

There are two options available that I am aware of...

1) use Oracle's Net8 Assistant...you can access this through your Start menu.
or, the method used by most...
2) edit the TNSNAME.ORA file directly.  The Oracle client is installed usually in a directory like "C:/oracle/ora92".  You will find your TNSNAME.ORA file in a directory below this Oracle
directory called network/ADMIN  (this is C:/oracle/ora81/network/ADMIN on one of my systems).

For you remote Oracle system you will need an entry like below...replace the values of REMOTESID with the SID of your remote database and YOUR.REMOTE.COM with the ip name or number where the database resides...

REMOTESID.WORLD =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = TCP)(HOST = YOUR.REMOTE.COM)(PORT = 1521))
    )
    (CONNECT_DATA =
      (SID = REMOTESID)
    )
  )

you may need to change the port number depending on how the database has been set up...try 1521 first.
0
 

Author Comment

by:joyjohn
ID: 10739370
i hv installed Oracle Client installed .
so where i hv to provide all my ip address address and user name passwd to connect remote db from TOAD
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 25

Expert Comment

by:lwadwell
ID: 10739430
Once you have the TNSNAMES.ORA set up - the ip address is specified in this file.

When you start TOAD it should ask you to connect to a database. In the drop down for Database, select the database name you specified in the TNSNAMES.ORA file (eg. REMOTESID.WORLD), enter your username and password in the appropriate boxes and click OK.

If you had TOAD open when you set up the TNSNAMES.ORA file, then to refresh the list...shutdown TOAD and restart it, or manually type in the name.

If TOAD isn't asking for the Server Login, select from the menu File -> New Connection.
0
 

Author Comment

by:joyjohn
ID: 10739510
so first i hv to edit my  TNSNAME.ORA file and one more thing what is SID how is it username.
0
 

Author Comment

by:joyjohn
ID: 10739515
if i use net8 assistant do i have to edit that file.?
0
 
LVL 6

Expert Comment

by:musdu
ID: 10739615
Hi,

you can use Net8 assistant to edit tnsnames.ora. After adding the definition don't forget to test the connection.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Encryption Decryption in Oracle 12 107
SQL Retrieve Values 4 57
Processing of multiple cursor 6 35
Extract Currency data from a string and put them in a new field 3 13
Working with Network Access Control Lists in Oracle 11g (part 2) Part 1: http://www.e-e.com/A_8429.html Previously, I introduced the basics of network ACL's including how to create, delete and modify entries to allow and deny access.  For many…
Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
This video shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now