How to connect to Oracle database through Navicat

        This article introduces how to connect to Oracle database through Navicat. In the past, the Oracle client was always used to connect to the Oracle database, but the Oracle client was generally several hundred M in size, and the installation was cumbersome and the configuration was cumbersome. It would be very easy and convenient if you can directly connect to Oracle through Navicat.

1. Download Instant Client Base

        To use Navicat to connect to the Oracle database, you must first ensure that there are Oracle-related driver files locally. Download the Instance Client Base package officially provided by Oracle, which contains the minimum files required to connect to Oracle.

        Visit the official address Oracle Instant Client Downloads and select the appropriate version. This time, taking window as an example, select the 64-bit version.

Enter the download page and select the latest version V21.10.0.0.0. Users can also choose the version that suits them according to their actual needs. Click the + on the right to display the download list.

 Download the basic package of Instant Client.

 2. Set up Navicat’s oci environment

        Unzip the Instance Client Base downloaded in the previous step to any folder. Then select Navicat->Tools->Options to enter the option configuration page.

Select environment options on the options configuration page. Then configure the OCI environment and select the oci.dll file in the decompressed folder of the Instance Client Base downloaded in the first step.

Note: For the configuration to take effect, you need to restart the Navicat client (just close and reopen).

 3. Connection test

        Create a new Oracle connection, configure the corresponding Oracle server IP address, port, instance name, user name, password and other parameters, and then click the Test Connection button in the lower left corner for test verification.


New Era Migrant Workers 

Guess you like

Origin blog.csdn.net/sg_knight/article/details/132064235