Hashxu 2012-04-13
步骤一、下载需要的工具:
1.PL/SQLDeveloper,
2.InstantClientPackage-Basic:免安装的Oracle客户端,可到Oracle网站(http://www.oracle.com/technetwork/topics/winsoft-085727.html)上下载,选择“AllfilesrequiredtorunOCI,OCCI,andJDBC-OCIapplications”版;
步骤二、配置客户端环境:
下载完毕后将Instant Client Package解压到时安装目录E:\Program Files\Oracle\oracle_client\instantclient_11_2(无需安装,目录自定),然后在此目录下建立\NETWORK\ADMIN目录,并在ADMIN下创建tnsnames.ora文件,内容如下:aaa =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.156.33.10 )(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = aaa)
)
)
(斜体字表示可更改)
步骤三、安装PL/SQL Developer并配置
安装步骤没什么可说的,安装完毕后打开,先取消登录,进入窗口后选择 Tools->Preferences...,在弹出的窗口中设置以下两项:
Oracle Home:安装目录E:\Program Files\Oracle\oracle_client\instantclient_11_2
OCI library:安装目录E:\Program Files\Oracle\oracle_client\instantclient_11_2下的oci.dll
OK.
重新打开,登录时就能看到数据库的配置信息了!