Jul 26, 2008

Connect To Remote Oracle Database With Toad - i'm lost

Free Web Hosting, No Ads > CONTRIBUTE > Computers > Software

free web hosting

Connect To Remote Oracle Database With Toad - i'm lost

sandbox
Hey gang, long time no see, my bad! Anyway, I got me a question. Does anybody know how to connect to a remote oracle database using toad? When I read the docs for toad I get the impression that I have to have a local oracle installation in order to use toad, but that just seems silly.

I guess I'm stuck at the point of trying to figure out how to tell toad where to look for all of the configuration information it needs for the connection if I don't have any "Oracle Home" directories.

:crosses fingers:

Peace!

Reply

sandbox
Um, nevermind, I just figured it out.

Here's how you do it (Although I've done my best to present an accurate procedure, I can't guarantee this will work for everyone. Messing around with your environmental variables is not for the weak, proceed with caution):

1) Prepare your mind for information that should be used once and then quickly discarded. Otherwise the following information may stick to your brain and take up valuable space. You are warned.

2) Install the oracle instant client. I don't know why...I kinda wish I did. You probably can get away with installing just the basic package. Unzip the files to a directory, and then copy the path of this directory to the clipboard.

3) Add this directory to the PATH environmental variable. To do this, right click on My Computer, go to the Advanced tab, and click 'Environment Variables'. Under System variables, find 'Path'. Select it, and click edit. ctrl-v to paste the directory into the string, and say OK. e.g.:

Before: %SystemRoot%\system32;%SystemRoot%;C:\Program Files\ATI Technologies\ATI Control Panel;
After: %SystemRoot%\system32;%SystemRoot%;C:\Program Files\ATI Technologies\ATI Control Panel;C:\instantclient;

4) In the same window, under 'User variables for ...', Click the New button. Call the variable 'TNS_ADMIN'. ctrl-v to paste the directory path into the 'variable value' field. Say OK, and close out the 'My Computer' properties windows.

5) Create a file called 'TNSNAMES.ORA' in your instant client installation directory. In this file designate the connection parameters for your database. Mine looked something like this:

CODE
DB_ALIAS =
 (DESCRIPTION =
   (ADDRESS_LIST =
     (ADDRESS = (PROTOCOL = TCP)(HOST = ip.add.re.ss)(PORT = 1521))
   )
   (CONNECT_DATA =
     (SID = orcl)
     (SERVER = DEDICATED)
   )
 )

replace the DB_ALIAS, ip.add.re.ss, port, and SID with your settings. If you don't know what any of this means, good for you, you'll live longer.

6) Reset your computer, fire up Toad, and then open a new connection. You should see DB_ALIAS as an option under the database field. Set your username and password, hit connect, and you should be in business.

I guess Toad looks in certain places for the drivers and configuration files it needs to connect to oracle. Setting the environmental variables tells Toad where to look. If you had a local install of Oracle I imagine you could fire up Toad and all the files it needed would already be in the right place, but you can follow these steps instead. Woot!

 

 

 


Reply

iGuest
Thanks . It worked for me

-sibu

Reply

iGuest
Thanks for the instructions, I was able to connect to oracle using TOAD 8.5.0.50 g

-Anjan

Reply

iGuest
unable to connect
Connect To Remote Oracle Database With Toad

I had done the same thing what you had done. Still I am gettting errors like tns name cannot be resolved. Can you please help me in this

-reply by sowjanyakumar

Reply

ejroley
QUOTE(FeedBacker @ May 20 2008, 04:37 AM) *
unable to connect

Connect To Remote Oracle Database With Toad
I had done the same thing what you had done. Still I am gettting errors like tns name cannot be resolved. Can you please help me in this

-reply by sowjanyakumar



Reply

ejroley
check out...
http://ora-13200.ora-code.com/all.html for error code issues. It gives you at least a starting point to out figuring out what is wrong.

try pinging your server that you want to connect to. from your DOS prompt type tnsping 10.11.112.23 (the server ip you are trying to connect to)
it's usually a syntax or spelling error in your tnsnames.ora file. If you've been up all night trying to figure out how to connect, re-check your syntax and keeps notes in notepad or wordpad for reference.


if you are remote access and required Cisco VPN or other VPN connection (from Home) you may want to add the destination entry to your C:\WINDOWS\system32\drivers\etc\host file (on XP)

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Recent Queries:-
  1. oracle port toad remote access - 6.11 hr back. (1)
  2. how to connect mysql to toad - 7.87 hr back. (1)
  3. connecting oracle database remotely - 11.52 hr back. (1)
  4. toad database with port - 12.56 hr back. (1)
  5. remote access oracle databse - 16.61 hr back. (1)
  6. configure toad remote database - 22.76 hr back. (1)
  7. oracle connection to remote database - 23.25 hr back. (1)
  8. how to connect to oracle database on remote server - 20.03 hr back. (4)
  9. connect toad to an access database - 24.47 hr back. (1)
  10. connect to oracle database using ip address - 24.78 hr back. (1)
  11. connect toad to a remote database - 24.94 hr back. (1)
  12. sqlplus to connect remote database oracle - 24.98 hr back. (1)
  13. oracle connect database - 24.99 hr back. (1)
  14. connect to oracle with toad - 25.44 hr back. (1)
Similar Topics

Keywords : connect, remote, oracle, database, toad, im, lost

  1. Remote Control A Computer With Sound
    (2)
  2. Free Access To Mysql Database Converter
    Free Access to MySQL Database Converter (1)
    QUOTE DB2MYSQL Converter is a totally free software that will convert Microsoft Access Databases
    to MySQL. It’s easy fast and accurate MS Access to MySQL Database Converter easily converts database
    records of Microsoft MS Access databases to MySQL server. DB2MYSQL is very easy to use, just follow
    the simple screens and let the program automatically do all the work for you. We use a very fast
    conversion algorithm to provide you with the best possible performance level. Its Features include:
    Supports common MySQL data types and attributes. Supports common MS Access c....
  3. Inm V12 Database
    the first db for flash (3)
    i dont know you but when you burn a cd with your files and you say "oh my god where is my
    grandma's pic" that's the exact time to use this almost new product that is just about to be
    released, its a database completely made for flash that will help you to have the files's list
    in every cd, dvd and web based applications, so what do i exactly mean?... i mean that you wont have
    to use mysql or even an access db to store the cd's data anymore, now you could build your
    catalog with no inconvinience... check out the site and its FAQs if you have questions INM ....
  4. Errmess Remote Computer
    (6)
    Just wanted to tip you about a great prog. that i found, surfing the "big world". It is called
    ErrMess Remote Computer and you can find it here: http://www.errmess.com It has some of the
    following features: filetransfer, chat, desktop viewing etc. It is no trial it's freeware.....
  5. Run Apache Securely On Windows
    How can I restrict all remote access? (2)
    I've established an Apache 2.0 server on my laptop that I want to use to test new features of my
    website before I make them public. I'm nervous about security and random attacks and just want
    to feel assured knowing that no one can access my Apache server remotely. I'm running Windows
    XP and have Windows firewall protection enabled. Is that enough? What types of changes do I need to
    makes to the "conf/httpd" configuration or other files in the Apache directory? Basically, what
    settings do I need to enable to restrict all remote access to the localhost Apac....
  6. Remote Access Software
    (6)
    Does anyone use a remote access software package? I have tried a couple, but would be interested to
    hear about what folks thought of some of the other packages/services out there. I have tried
    GoToMyPC, but I didn't like having to pay for their service. Luckily I found a free one called
    LogMeIn.com. It works pretty well. However, I have recently had issues when I disconnect from a
    remote PC. It seems to hang some of me browsers. I need to use Task Manager to kill those
    browser's porcesses. What have you all tried? What have you found to be successful and....
  7. Remote Control Software
    (0)
    I use realvnc, ms terminal service. I used to use pcanywhere, but now i give up. and you?....

    1. Looking for connect, remote, oracle, database, toad, im, lost

Searching Video's for connect, remote, oracle, database, toad, im, lost
advertisement



Connect To Remote Oracle Database With Toad - i'm lost



 

 

 

 

ADD REPLY / Got an Opinion! Remove these ADs! RAPID SEARCH! Free Web Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE