惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

量子位
Google DeepMind News
Google DeepMind News
爱范儿
爱范儿
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
NISL@THU
NISL@THU
T
Threat Research - Cisco Blogs
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
L
Lohrmann on Cybersecurity
V
Visual Studio Blog
Cyberwarzone
Cyberwarzone
D
Docker
The Hacker News
The Hacker News
C
CERT Recently Published Vulnerability Notes
Vercel News
Vercel News
Project Zero
Project Zero
S
Schneier on Security
aimingoo的专栏
aimingoo的专栏
I
Intezer
腾讯CDC
M
MIT News - Artificial intelligence
Hugging Face - Blog
Hugging Face - Blog
P
Palo Alto Networks Blog
C
CXSECURITY Database RSS Feed - CXSecurity.com
AWS News Blog
AWS News Blog
GbyAI
GbyAI
MongoDB | Blog
MongoDB | Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
V
Vulnerabilities – Threatpost
G
Google Developers Blog
N
Netflix TechBlog - Medium
The Cloudflare Blog
Microsoft Security Blog
Microsoft Security Blog
Y
Y Combinator Blog
A
Arctic Wolf
S
Securelist
酷 壳 – CoolShell
酷 壳 – CoolShell
Cisco Talos Blog
Cisco Talos Blog
Recent Announcements
Recent Announcements
C
Cyber Attacks, Cyber Crime and Cyber Security
L
LINUX DO - 热门话题
T
Threatpost
Latest news
Latest news
Blog — PlanetScale
Blog — PlanetScale
Security Latest
Security Latest
Engineering at Meta
Engineering at Meta
大猫的无限游戏
大猫的无限游戏
H
Help Net Security
The GitHub Blog
The GitHub Blog
T
Tor Project blog
P
Proofpoint News Feed

博客园 - bluesky4485

Elasticsearch及java客户端jest使用 在windows环境下基于sublime text3的node.js开发环境搭建 CentOS6.4安装及配置oracle Ant学习 Springframework3.1源码编译 如何测试java支持的最大内存 VMWare安装redhat9后上网的的问题 Tomcat中部署后JspFactory报异常的解决方案 MyEclipse10 中增加svn插件 Oracle连接池信息的修改 OPDS1.1 VMware下Redhat9鼠标选用usb后不能使用的解决办法 m2e插件安装 Java开发Maven环境配置和介绍 javadoc生成出现错误“编码 GBK 的不可映射字符” Google常用搜索技巧 设置Google不跳转到google.com.hk CodeSmith支持中文配置 jni和C++通信中文乱码的问题
win7x64下安装oraclex64版本后,plsql Developer无法登录的问题
bluesky4485 · 2012-07-10 · via 博客园 - bluesky4485

主要是plsql使用的oci.dll是64位的,而plsql本身是32位的,在使用64位的oci.dll时出错。

解决办法如下:

1、到oracle官网下载Oracle InstantClient(下载地址:http://download.oracle.com/otn/nt/instantclient/112010/instantclient-basic-win32-11.2.0.1.0.zip),我的数据库安装的是11.2.0.1.0,所以下载的InstantClient也是11.2.0.1.0版本的。将下载的文件解压到oracle的安装目录中,例如:D:\oracle\product目录中,此目录中还有一个文件夹11.2.0,将文件夹命名为instantclient,,并将该目录加入到系统的环境变量path中。

2、打开plsql,取消登录,在程序的首选项中找到connection设置,设置ORACLE_HOME和OCI_LIBRARY,ORACLE_HOME设置为instantclient文件夹路径,OCI_LIBRARY设置为instantclient目录下的oci.dll文件。关闭plsql。

3、将dbhome_1\NETWORK\ADMIN目录中的tnsnames.ora文件拷贝到instantclient目录中,在环境变量中增加一项:TNS_ADMIN=D:\oracle\product\11.2.0\instantclient.

4、重新打开PLSQL,能在Database中显示之前配置的Oracle服务名,则可以正常使用plsql。

网上有人针对oracle字符集的问题还需要修改注册表或者使用bat去启动plsql,在我操作的过程中没有做这个操作,在数据库中的中文均可正常使用,估计是plsql的高版本解决了字符集的问题了。我使用的是plsql9.