最近,更换系统win7 64bit版本,所以,所有的软件重新安装,当然oracle也不例外,就从oracle官网down下了oracle
11g 64bit的版本的,安装测试,当然安装已经是轻车熟路了,一切ok,但是在使用额外的pl/sql developer时就出现了问题提示不能连接64bit的数据库,所以百度一下,解决方法也挺多的,经测试也ok,所以以作记录。
步骤:原因是(pl/sql developer只支持32bit的,所以就不要尝试去百度64bit的了)
Version 11.2.0.3.0
| |
Instant Client Package - Basic: All files
required to run OCI, OCCI, and JDBC-OCI applications
instantclient-basic-nt-11.2.0.3.0.zip (51,149,941
bytes)
二、解压instantclient-basic-nt-11.2.0.3.0到%oracle_home%\product下 三、拷贝network下的tnsname.ora、listener.ora、sqlnet.ora到刚才解压的client下面 四、增加系统环境变量 TNS_ADMIN = %ORACLE_HOME%\product\instantclient_11_2 NLS_LANG = AMERICAN_AMERICA.AL32UTF8 五、配置PL/SQL developer 启动plsqldev---Tools---Preferences---Connection---配置Oracle Home和OCI library路径 其中Oracle Home应该导航到InstantClient的解压目录,而OCI Library则指向到该目录下的oci.dll Oracle Home = %ORACLE_HOME%\product\instantclient_11_2 OCI library = %ORACLE_HOME%\product\instantclient_11_2\oci.dll 至此调试完成,重启pl/sql developer就ok了! | |
6TPUC9@YK@KG~A9$IOAQ4EI.jpg
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/23890223/viewspace-734251/
,如需转载,请注明出处,否则将追究法律责任。