我的机子是win7 64位的,安装的是Oracle - OraClient11g_home1   然后安装了pl/sql。但是在连接的时候出现错误:
initialization error
could not initialize
"f:\app\Adiministrator\product\11.2.0\client_1\bin\oci.dll"
Make sur you have the 32 bits oracle client installed.OCIDLL forced to
f:\app\Adiministrator\product\11.2.0\client_1\bin\oci.dll
LoadLibrary(f:\app\Adiministrator\product\11.2.0\client_1\bin\oci.dll)
return 0
以上是错误信息。从网上查有的说安装32位oracle,但是本机子装32位的装不上,只能装64位的。还有的说修改这个plsql里的default.ini,我也不会修改。default.ini里的内容如下:
ID=PL/SQL Developer Preference File[General]
Name=System Default
Enabled=True
Order=0
Rules=[Preferences]
请大家帮帮忙,真地很急!谢谢了!到底该怎样才能连上数据库呢?

解决方案 »

  1.   

    首先确保你的数据库实例是运行的,
    用oracle自带的plsqlus连接试试。
    如果连接正常那你就看看PL/SQL Developer版本应该32、46
      

  2.   

    很显然你安装的版本不OK啊?上官方下载个支持64bit的
      

  3.   

    目前没有pl/sql支持64位的网上查不到啊
      

  4.   

    可以到oracle官网找一下了,支持64位的,有的。
      

  5.   

    原因:--Make sur you have the 32 bits oracle client installed.
    卸载ORACLE,重装成64位的.
    ORACLE11g下载地址:http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html?ssSourceSiteId=ocomen;
    里面有各种版本下载.
      

  6.   

    我的oracle就是64位的啊!!!!!
      

  7.   


    --你的PL/SQL或者SQLDeveloper 也要64位的。
      

  8.   

    大家谁给提供一个pl/sql 64位下载的有效地址啊!!我这实在是找不到啊
      

  9.   

    Quick post: I was trying to connect to a 64-bit Oracle database using PL/SQL Developer. Despite ORACLE_HOME being set the right values and oci.dll available, PL/SQL Developer could not connect to the database.Further probing indicated that the Oracle installation was a 64-bit one, and PL/SQL Developer is incapable of loading 64-bit version of oci.dll file. To fix this, download the 32-bit version of Oracle Instant Client, extract it to a directory such as \instant_client.Next, configure PL/SQL Developer to use this version by clicking on Tool menus -> Preferences. Under Oracle Home, point to the location where you had extracted Instant client (\instant_client, in this case)  and under location of OCI Library, point to the oci.dll file present in location where you had extracted Instant client ( \instant_client\oci.dll). Restart PL/SQL Developer and you should be able to connect now.
      

  10.   


    copy d:\app\jack(username)\product\11.2.0\dbhome_1\network
                to:d:\app\jack\product\instantclient;