Navicat and PLSQL remotely connect to the oracle database on the server

1. Navicat remotely connects to the oracle database on the server

1.1, download instanceclient

Address: link: extraction code: gr4v

1.2, enter the user name, password, host, service name

driverClassName=oracle.jdbc.driver.OracleDriver
uname=FASP620000000
password=970803
url=jdbc\:oracle\:thin\:@192.168.7.129\:1521\:orcl//主机端口服务名

1.3. Another step is very important, is to configure the oci.dll file

Navicat -------> Tools --------- "Options -----" Environment

Here you must import the oci.dll file in the bin folder of the Oracle installation directory you installed

D:\app\Oracle\oracle\product\11.2.0\dbhome_1\BINoci.dll

The above is the file under my installation directory, everyone will import it according to their own installation directory

Restart Navicat after importing, it will take effect automatically after restarting

1.4, test connection

2. PLSQL remote connection to the oracle database on the server

The oracle server and the oracle client are not installed on this machine. However, pl sql development and other databases are installed.

2.1. Download instanceclient,

Address: link: extraction code: gr4v

2.2. Open PL / SQL, click the Cancel button on the interface to connect to the database to enter the PL / SQL interface

2.3.Tools->Perferences->Oracle->Connection

2.3.1.Oracle Home(empty is autodetect)

Fill in: D: \ instantclient_10_2

2.3.2.OCI library(empty is autodetect)

Fill in: D: \ instantclient_10_2 \ oci.dll

2.4. Open PL / SQL, enter the user name, password, database (server ip / database name, such as: 192.168.7.129/orcl)

Reference: Original

3. Some other knowledge points

3.3 What is the difference between oracle Instant Client and oracle client

1. Oracle Client includes a complete client connection tool.
2. Instant Client is a lightweight database client released by Oracle (R). It can be reduced by one hundred or even only a few degrees. You can use it to run OCI, OCCI, Pro * C without installing a standard client. , ODBC and JDBC programs.

3. Instant Client is suitable for users who only need to connect to the remote oracle database and do not need to install the server locally. For example, Toad, PL / SQL / Lab128 and other Oracle connection tools, although relying on the Oracle client environment, a single Instant Client can also meet the requirements.

3.4, Oracle Net Manager ----- "Oracle Network Manager

Guess you like

Origin www.cnblogs.com/zhuchengbo/p/12671379.html