Configuration of Oracle 11g real-time client on Windows

Source: Internet
Author: User

Oracle 11g real-time clientInWindowsThe configuration process on is relatively simple. This article introduces the configuration of Oracle 11g on Windows 2000 as an example.

1. Extract the compressed file to the root directory of drive D;

2. edit the environment, add d: \ instantclient_11_1 to the PATH before other Oracle Directories), add the system environment variable TNS_ADMIN to d: \ instantclient_11_1, and set ORACLE_HOME to d: \ instantclient_11_1; NLS_LANG is ''american _ america. ZHS16GBK''

For example, on Windows 2000, choose Start> Settings> Control Panel> system> advanced> environment variables ", edit the PATH in the system Variable list. Set the system environment variable TNS_ADMIN to d: \ instantclient_11_1, the system environment variable ORACLE_HOME to d: \ instantclient_11_1, and the system environment variable NLS_LANG to american_america.zhs16gb

3. Edit the d: \ instantclient_11_1 \ tnsnames. ora file:

 
 
  1. MYDB =  
  2.  
  3. (DESCRIPTION =  
  4.  
  5. (ADDRESS_LIST =  
  6.  
  7. (ADDRESS = (PROTOCOL = TCP)(HOST = 10.0.0.5)(PORT = 1521))  
  8.  
  9. )  
  10.  
  11. (CONNECT_DATA =  
  12.  
  13. (SID = HBDB)  
  14.  
  15. (SERVER = DEDICATED)  
  16.  
  17. )  
  18.  

Where:

MYDB: database instance name

10.0.0.5: database server address

HBDB: Database SID

The configuration of the Oracle 11g real-time client on Windows is introduced here. I hope you will get some benefits!

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.