How to connect to a remote database without installing oracle software

If the oracle database is not used locally, you can access the remote database only by installing pl/sql without installing oracle. The specific methods are as follows:

Tools/Materials

 
  • oracleClient
  • pl/sqltools

method/step

 
  1.  

    Step 1: Download and install pl/sql, and at the same time download the simple oracle client oracleClient, I have collected the green version of pl/sql and 64-bit oracleClient for your use:

    pl/sql:   http://www.cr173.com/soft/232289.html

    oracleClient:  http://download.csdn.net/download/u013817689/7244611

    How to connect to a remote database without installing oracle software
  2.  

    Step 2: After decompressing my oracleClient, the tns file and the sqlnet file are under the NETWORK folder (similar to the Oracle installation version), and they can also be placed outside, but they must be paired when configuring the path later.

    As shown below: It is recommended to copy the tns and sqlnet files installed by others. There are always some inexplicable problems with my own configuration, which cause the connection to fail.

    How to connect to a remote database without installing oracle software
  3.  

    Step 3: Configure two environment variables,

    <1>TNS_ADMIN=%tnsnames.ora path% This tns path is in the above NETWORK directory;

    <2>NLS_LANG=AMERICAN_AMERICA.UTF8 This is the configuration client language;

    The environment configuration method is as follows:

    How to connect to a remote database without installing oracle software
  4.  

    Step 4: Open pl/sql, click "Cancel" to enter;

    How to connect to a remote database without installing oracle software
  5.  

    Step 5: Select Tools->Preferences, configure oracleClient location as shown below:

    Select "connection" -> oracle home directory name on the left, the following line will automatically identify the oci.dll file in oracleClient, if not, please find the installed machine copy or Baidu download

    How to connect to a remote database without installing oracle software
  6. 6

    After configuration, restart pl/sql, you will see your configured tns server in the options of the login interface, you can log in

    It should be noted that sometimes it will still report the error: the connection descriptor cannot be recognized. At this time, please carefully check whether the content of the tns file is correct. It is recommended to copy from the installed machine.

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326688241&siteId=291194637