您的位置:首页 > 数据库 > SQL

oracle11g_64位连接32位PLSQL_Developer配置

2017-07-21 19:24 513 查看
由于现在的笔记本大都是64位的window7系统,然而PLSQL_Developer没有64位的,这造成了我们连接的麻烦,这里教大家怎么将win7_oracle11g_64位连接32位PLSQL_Developer。并解决在使用PLSQL_Developer时出现中文乱码。

原文地址:
http://jingyan.baidu.com/article/fb48e8be4c7c206e622e1491.html
1、下载安装PLSQL developer和instantclient:     

下载PLSQL_Developer地址:
http://pan.baidu.com/share/link?shareid=3768883331&uk=3557941237
下载instantclient-basic-win32-10.2.0.5地址:
http://pan.baidu.com/share/link?shareid=3782452820&uk=3557941237
2、请将你下载的instantclient-basic-win32-10.2.0.5 文件解压。然后复制到你的数据库安装的文件夹下的producti文件夹下,我的是:

E:\app\Administrator\product。

3、然后找到两个文件listener.ora和tnsnames.ora我的在E:\app\Administrator\product\11.2.0\dbhome_1\NETWORK\ADMIN里面。都复制到E:\app\Administrator\product\instantclient_10_2的下面。

4、然后找到你的PLSQL_Developer安装的目录,我的是:

C:\Program Files (x86)\PLSQL Developer

在里面新建一个记事本,写入以下类似代码:

@echo off 

set path=E:\app\Administrator\product\instantclient_10_2

set ORACLE_HOME=E:\app\Administrator\product\instantclient_10_2

set TNS_ADMIN=E:\app\Administrator\product\instantclient_10_2

set NLS_LANG=AMERICAN_AMERICA.AL32UTF8

start plsqldev.exe

》》》注意!!!!

我的instantclient_10_2地址是:E:\app\Administrator\product\instantclient_10_2

而你的跟我的可能不一样,所以要修改成你的instantclient_10_2的路径!

写好后,将你的记事本名称改为start.bat然后点击运行。

如果PLSQL Developer没有打开,请仔细检查你上面的步骤和代码是否正确,然后在运行start.bat。

5、打开PLSQL_Developer后,取消登陆,进入主界面。

1.点击--工具--首选项--连接:

2.把上面的注销改为提交

3.OCI库改为带有instantclient_10_2的路径。

4.应用--确定--关闭PLSQL_Developer重新运行。

注意:

oracle home:    E:\app\hasee\product\instantclient_11_2

oracle library:   e:\app\hasee\product\instantclient_11_2\oci.dll

都得加上去;

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: