Loading...


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

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

 
 Discussion by sandbox with 16 Replies.
 Last Update: January 1, 2012, 9:55 pm ( View Rated (2) )
 
bookmark - Connect To Remote Oracle Database With Toad i'm lost  
Quickly Post to Connect To Remote Oracle Database With Toad i'm lost w/o signup Share Info about Connect To Remote Oracle Database With Toad i'm lost using Facebook, Twitter etc. email your friend about Connect To Remote Oracle Database With Toad i'm lost Print
Reply / Comment New Discussion / Topic Share / Bookmark E-Mail a Friend Print

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!







   Thu Dec 29, 2005    Reply         

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!

   Thu Dec 29, 2005    Reply         

Thanks . It worked for me

-sibu

   Wed Dec 12, 2007    Reply         


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

-Anjan

   Mon Dec 17, 2007    Reply         

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

   Tue May 20, 2008    Reply         

QUOTE (FeedBacker)

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
Link: view Post: 390708

   Thu Jun 5, 2008    Reply         


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)

   Thu Jun 5, 2008    Reply         

Ya.I connected successfully.Thanks a lot.
One more doubt I have...The main page of the Toad opend successfully.
But when I type "select * from tab" it is showing no rows selected...Why it is showing like that...

-reply by sai prasad

   Thu Aug 28, 2008    Reply         

Connect To Remote Oracle Database With Toad
Connect To Remote Oracle Database With Toad

Replying to sandbox

Thanks a lot, it got connected.
--Swapna.

   Fri Sep 26, 2008    Reply         

Thanks for kind of help.. its working for me..


Regards,

Sasikumar. S
MCAMDOIS

   Mon Sep 13, 2010    Reply         

Sandbox, what do you do if you're installing on a Windows 7 machine? I'm getting the following error: oci.dll is not configured to work with Windows.

I read somewhere that there may be a hack or something. Hope you can help!




QUOTE (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!

Link: view Post: 216700

   Wed Dec 1, 2010    Reply         

It worked for me. Thanks alot for sharing this. Two thumbs up! :)

   Tue May 3, 2011    Reply         

thanks mate.. worked alright :)
cheers

   Wed Jul 13, 2011    Reply         

Thanks a lot sandbox! It worked also for me! I also like you sens of humor :D

   Mon Aug 1, 2011    Reply         

Hey ,

Please tell me how to Connect To Remote Oracle Database with SQL Manager for Oracle.

   Thu Aug 25, 2011    Reply         

Thanks so much, followed the instructions A-Z and am now connected!

   Mon Oct 17, 2011    Reply         

how can i connect Toad with local database in same system ? operating system is windows 7.
Please help..

   Sun Jan 1, 2012    Reply         

Quickly Post to Connect To Remote Oracle Database With Toad i'm lost w/o signup Share Info about Connect To Remote Oracle Database With Toad i'm lost using Facebook, Twitter etc. email your friend about Connect To Remote Oracle Database With Toad i'm lost Print
Reply / Comment New Discussion / Topic Share / Bookmark E-Mail a Friend Print

Similar Topics:

Oracle Is The Best Database Applica...

I think Oracle is one of the best Database Application Package... MySql is also good. Microsoft SQl Server Consumes physical memory a lot.It slow downs your computer very much.. Oracle database is more secure than Ms SQLServer.. MySQL is Opensource.I don't have much Exper ...more

   22-Apr-2009    Reply         

Oracle Application auditing...

Oracle Application auditing...Connect To Remote Oracle Database With ToadI downloaded the dump supplied by the Auditee organisation into my computer.The oracle is 9(I).I created a User named ABC.Created ...more

   13-Oct-2009    Reply         

Asp.net & Oracle Connectivity

Actually I am new in this ASP.NET programming. Can I use Oracle 11g software for connecting database to the ASP.NET I want to make e-shopping website and My database contains huge data so I opted for Oracle 11g. So can I connect ASP.NET to Oracle if yes then give me code to connect it. ...more

   16-Aug-2010    Reply         

What Is Mysql's Default Root Password? Just installed in on my Linux box   What Is Mysql's Default Root Password? Just installed in on my Linux box (11) (5) A Photo Editing Software Please Help   A Photo Editing Software Please Help