You are on page 1of 9

Create a directory and place the 2

folders in this directory.


e.g

X:\app

Where x is the drive letter.


Go to System

Click Advanced System Settings.


Please note this is Windows 10
Click Environment Variables.

Edit system variable PATH


Add Instant Client folder path to the
Path Variable. Press home key and
paste path and separate with semi-
colon.
e.g
x:\app\instantclient_12_1;

Where x is the drive letter.

Create a system TNS_ADMIN

variable Name: TNS_ADMIN


variable value:
x:\app\instantclient_12_1

Where x is the drive letter.

Press OK
Press OK
Press OK
Close Systems Window.
Go to run and type regedit.
Open
HKEY_LOCAL_MACHINE\SOFTWARE

Check if ORACLE KEY (folder) exits,


else a key ORACLE

Check if KEY_INSTANTCLIENT key in


ORACLE key exits, else create
KEY_INSTANTCLIENT key inside
ORACLE key (folder)

Create the following string and enter


the appropriate values as shown.
Open
HKEY_LOCAL_MACHINE\SOFTWARE\
Wow6432Node

Check if ORACLE KEY (folder) exits,


else a key ORACLE

Check if KEY_INSTANTCLIENT key in


ORACLE key exits, else create
KEY_INSTANTCLIENT key inside
ORACLE key (folder)

Create the following string and enter


the appropriate values as shown.

Close registry windows.


Copy a tnsnames.ora file into instant
client folder

Edit tnsnames.ora and enter


appropriate TNS information.

FINTRAKDW =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL =
TCP)(HOST = FINTRAKBI)(PORT =
1521))
)
(CONNECT_DATA =
(SERVICE_NAME = FINTRAKDW)
)
)

FINTRAKSQL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL =
TCP)(HOST = FINTRAKBI)(PORT =
1521))
)
(CONNECT_DATA =
(SERVICE_NAME = FINTRAKSQL)
)
)

FINTRAKAPP =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL =
TCP)(HOST = 10.0.0.94)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = FINTRAKAPP)
)
)

ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL =
TCP)(HOST = fintrakbi)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
)
)
Connect to DB using TOAD or SQL Developer to connect.
See DBA for your oracle user account.
Cheers.