How to connect to remote Oracle DB with PL/SQL Developer?

前端 未结 6 1895
我寻月下人不归
我寻月下人不归 2020-12-24 06:08

I have a database \"TEST\", to which I connect at address 123.45.67.89:1521.

How do I connect to it using PL/SQL Developer?

6条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-24 07:07

    I am facing to this problem so many times till I have 32bit PL/SQL Developer and 64bit Oracle DB or Oracle Client.

    The solution is:

    1. install a 32bit client.
    2. set PLSQL DEV-Tools-Preferencies-Oracle Home to new 32bit client Home
    3. set PLSQL DEV-Tools-Preferencies-OCI to new 32 bit home /bin/oci.dll For example: c:\app\admin\product\11.2.0\client_1\BIN\oci.dll
    4. Save and restart PLSQL DEV.

    Edit or create a TNSNAMES.ORA file in c:\app\admin\product\11.2.0\client_1\NETWORK\admin folder like mentioned above.

    Try with TNSPING in console like

    C:>tnsping ORCL

    If still have problem, set the TNS_ADMIN Enviroment properties value pointing to the folder where the TNSNAMES.ORA located, like: c:\app\admin\product\11.2.0\client_1\network\admin

提交回复
热议问题