Anda di halaman 1dari 3

5/2/2014 XP-rience: Toad 9.7 & Oracle Instant Client 11.

1
http://xp-rience.blogspot.com/2009/10/toad-97-oracle-instant-client-111.html 1/3
my electronics hobby fastanalytic
Sunday , Oct ober 1 8, 2 009
Toad 9.7 & Oracle Instant Client 11.1
Referring to Toad + Oracle instant client, I tried to set it up but unfortunately it doesn't work out for me.
Some extra additional steps help to resolv e the issue and I lov e to share it here.
First, download Oracle Client from Oracle Database Instant Client. Instant Client Package -
Basic Lite wil do just fine. (about 1 7 MB)
Next, create 4 folders ( recommended under c:\Program Files ) according to folder hierarchy below;
You should hav e 4 folders.
C:\Program Files\oracle
C:\Program Files\oracle\bin
C:\Program Files\oracle\network
C:\Program Files\oracle\network\admin
Now, extract the Instant Client Package to C:\Program Files\oracle\bin ( make sure the
oci.dll is in the C:\Program Files\oracle\bin )
Right click at My Computer > Properties > Goto Advance tab > Click Environment Variables. Add
listed Env ironment Variables below to y our OS.
LD_LIBRARY_PATH = C:\Program Files\oracle\bin
ORACLE_HOME = C:\Program Files\oracle
ORACLE_HOME_NAME = C:\Program Files\oracle
SQL_PATH = C:\Program Files\oracle
TNS_ADMIN = C:\Program Files\oracle\network\admin
Under sy stem v ariables, edit Path, add C:\Program Files\oracle\bin to the end of other path
(don't forget to separate it with ";")
Copy /create 3 simple *.ora files below to C:\Program Files\oracle\network\admin
xp-rience
something that i'd
like to share with y ou!
Search This Blog
Search
Followers
Blog Archive
201 1 (5)
201 0 (6)
2009 (4)
October (3)
Quick Start - Install and Run
Apache Tomcat
Toad 9.7 & Oracle Instant Client
1 1 .1
Setting up a simple Jav a stored
procedure/function...
September (1 )
2008 (1 8)
Button
Exabytes
Bagikan
0

Lainnya

Blog Berikut Buat Blog

Masuk
5/2/2014 XP-rience: Toad 9.7 & Oracle Instant Client 11.1
http://xp-rience.blogspot.com/2009/10/toad-97-oracle-instant-client-111.html 2/3
tnsnames.ora
DEV =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = foo)(PORT = 1531))
)
(CONNECT_DATA =
(SERVICE_NAME = foo)
)
)
sqlnet.ora
NAMES.DIRECTORY_PATH= (LDAP, TNSNAMES, HOSTNAME)
NAMES.DEFAULT_DOMAIN = WORLD
TRACE_LEVEL_CLIENT = OFF
SQLNET.EXPIRE_TIME = 30
ldap.ora
DEFAULT_ADMIN_CONTEXT = ou=oracledatabases,dc=mycompany,dc=com
DIRECTORY_SERVERS = (ldap_server.mycompany.com:389:636)
DIRECTORY_SERVER_TYPE = OID
Finally , test it out.
The drop down button seems to be highlighted in red but it works. I'v e tried it with sev eral DB connections.
Post ed by leor ick at Sunday , Oct ober 1 8, 2 009
Labels: or acle, t oad
9 comments:
Riki said...
Put oraclient1 0.dll (from Oracle public client) in bin directory , and oracle home will be ok for Toad
(red highlight out ;) ).
Thanks for the post, not tested, but helped :D
May 20, 201 0, 7 :1 5:00 PM
damupi said...
tks so much 4 y our post, i was almost a day try in' 2 install pssql on my w7 64bits computer without
success til I see y our blog.
I really apreciate y our help ando hope y ou don't mind to link y ou on my blog.
Feb 27 , 201 1 , 1 :38:00 AM
John Watzke said...
0 Like Share
5/2/2014 XP-rience: Toad 9.7 & Oracle Instant Client 11.1
http://xp-rience.blogspot.com/2009/10/toad-97-oracle-instant-client-111.html 3/3
Newer Post Older Post
Thanks a bunch! That got TOAD working for me with the instant client.
Apr 20, 201 2, 1 1 :08:00 PM
orafighter said...
what entries I hav e to do in SQLNET.ora and LDAP.ora ,
my TNSNAMES entries as below
TNSNAMES
*************************
FRSSRC =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = EINSTEIN01 )(PORT = 1 522))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = frssrc)
)
)
*************************
Jun 1 1 , 201 2, 1 :42:00 PM
leorick said...
I just them as they are.
my sqlnet.ora looks like below...
NAMES.DIRECTORY_PATH= (LDAP, TNSNAMES, HOSTNAME)
NAMES.DEFAULT_DOMAIN = WORLD
TRACE_LEVEL_CLIENT = OFF
SQLNET.EXPIRE_TIME = 30
and my ldap.ora as below...
DEFAULT_ADMIN_CONTEXT = ou=oracledatabases,dc=mycompany,dc=com
DIRECTORY_SERVERS = (ldap_server.mycompany.com:389:636)
DIRECTORY_SERVER_TYPE = OID
Jun 1 1 , 201 2, 9:09:00 PM
Narjara Aguilera said...
PERFECT!!!
I did it and realy works.
Thank y ou v ery much!
Jan 1 8, 201 3, 1 2:38:00 AM
Panagiotis Biris said...
Great it worked for me! Thank y ou!
Feb 1 , 201 3, 6:35:00 PM
Juan Teofilo Suy o Choque said...
Can I install serv er and client at same pc? Iv e istalled serv er on a different PC and client (other pc)
like this page and I run TOAD then say this message: ORA-1 2541 : TNS:no listener I cant
undertand it..
Sep 1 0, 201 3, 9:1 5:00 PM
leorick said...
From what I understand, installing Oracle DB will also install Oracle Client to that PC. That would
be better than Oracle Instant Client. Unfortunately , I'm not familiar with Oracle DB installation :-(
"ORA-1 2541 : TNS no listener" might caused by the tnsnames.ora was not pointing to correct serv er
(host and port) or the listener it self was not running.
You can try to use other tool for testing such as DbVisualizer just to make sure the DB is OK. From
there y ou might be able to identify which side is hav ing an issue, DB or TOAD.
Sep 1 0, 201 3, 1 1 :23:00 PM
Post a Comment
Links to this post
Create a Link
Home
Subscribe to: Post Comments (Atom)
Free CSS Templates | Blog and Web | XP-rience

Anda mungkin juga menyukai