Oracle instant client 安装

instant client 是连接oracle官方提供的数据库的客户端,非常小. 下载地址:

官方的介绍的步骤,虽然准确,但是过于简单.
Installation Steps:

1. Download the appropriate Instant Client packages for your platform. All installations REQUIRE the Basic package.

2. Unzip the packages into a single directory such as “instantclient”.
3. Set the library loading path in your environment to the directory in Step 2 (“instantclient”). On many UNIX platforms, LD_LIBRARY_PATH is the appropriate environment variable. On Windows, PATH should be used.

4. Start your application and enjoy.

经过试验,可以这么来做. 下载请注意你的客户端平台.

1. 下载 instantclient-basic 或者 instantclient-basiclite 区别不大.

2. 下载instantclient-sqlplus工具,有了这个工具,才是真正的客户端.

3. 下载完毕后,把2个压缩包,解压到同一个目录.

4. 设定环境变量. 如在windows里.

1.SET PATH=D:\OracleInstantClient;%PATH%

2.SET TNS_ADMIN=D:\OracleInstantClient

3.SET LD_LIBRARY_PATH=D:\OracleInstantClient

5. 修改tnsnames.ora ,没有请添加.

6. 执行命令廉洁数据库.

sqlplus /@
example: sqlplus scott/tiger@daten

这样客户端工具就做好了,你可以把这个文件夹下载到u盘里.非常轻巧,方便. 如果拿到别的机器上,仅设置一下环境变量就可以工作了.

此篇文章已被阅读4009 次

Tags:

Add a Comment

邮箱地址不会被公开。 必填项已用*标注