Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

 TOAD or TORA to Remote Oracle, configure

views
     
TSlonewolf
post Mar 8 2006, 09:37 AM, updated 20y ago

Look at all my stars!!
*******
Senior Member
3,945 posts

Joined: Jan 2003
hello guys,

anyone here uses TOAD or TORA to connect to a remote Oracle??

mind to share how you configure?


wKkaY
post Mar 8 2006, 09:53 AM

misutā supākoru
Group Icon
VIP
6,008 posts

Joined: Jan 2003
Ha, this will be interesting. I tried, but eventually gave up and ran it locally on the Oracle box instead.

I thought it'd be something like creating a tnsnames.ora for SQLplus. Maybe it is. It didn't work for me though.
TSlonewolf
post Mar 8 2006, 10:04 AM

Look at all my stars!!
*******
Senior Member
3,945 posts

Joined: Jan 2003
QUOTE(wKkaY @ Mar 8 2006, 09:53 AM)
Ha, this will be interesting. I tried, but eventually gave up and ran it locally on the Oracle box instead.

I thought it'd be something like creating a tnsnames.ora for SQLplus. Maybe it is. It didn't work for me though.
*
at first i tried TORA...kinda stupid..i manage to connect to remote using SQLplus..but guess what..TORA is can't find my remote server...
fly
post Mar 8 2006, 10:30 AM

¯\(°_o)/¯
Group Icon
VIP
1,119 posts

Joined: Jan 2003
Never tried TORA, but I'm guessing it's not very different from TOAD.

Assuming you've already installed the Oracle client on your PC, you just need to add a new local service name that'll connect to the remote Oracle DB. You can use either Net Manager for this or you can edit <ora_home>\network\ADMIN\tnsnames.ora by hand like so:

CODE

<local_service_name> =
 (DESCRIPTION =
   (ADDRESS_LIST =
     (ADDRESS = (PROTOCOL = TCP)(HOST = <hostname>)(PORT = <port>))
   )
   (CONNECT_DATA =
     (SERVICE_NAME = <remote_oracle_service_name>)
   )
 )


This is for Oracle 8i and above. Oracle 8 and below will have a different looking tnsnames entry. Google it or post here if your version of Oracle is 8 or below.

Once you've done it, just start TOAD and connect to the local service name that you've created. If it doesn't work, use the usual tools like sqlplus or tnsping to troubleshoot your connection. Good luck.

This post has been edited by fly: Mar 8 2006, 10:31 AM
TSlonewolf
post Mar 8 2006, 11:03 AM

Look at all my stars!!
*******
Senior Member
3,945 posts

Joined: Jan 2003
ahh...Thanks..it works for TOAD but not TORA...anyway..Thanks

anyway..do remember to place the "msvcr71.dll" is the PATH as well

 

Change to:
| Lo-Fi Version
0.0122sec    0.86    5 queries    GZIP Disabled
Time is now: 23rd December 2025 - 01:31 PM