Connecting Oracle Database Client to an Oracle Database

After you run Oracle Universal Installer to install Oracle Database Client, you must use Oracle Net Configuration Assistant (NETCA) to configure Oracle Database Client to connect to an Oracle database.

At the end of the installation, Oracle Universal Installer prompts you to configure the database connection. If you bypassed that option, or if you need to change the database connection later on, use the following procedure if you installed the Administrator, Runtime, or Custom installation types.

To connect Oracle Database Client to an Oracle Database:

  1. From the Start menu, choose Oracle - HOME_NAME, then Configuration and Migration Tools, then Oracle Net Configuration Assistant.
  2. In the Welcome window, select Local Net Service Name configuration and click Next.
  3. In the Net Service Name Configuration window, select Add and click Next.
  4. In the Service Name window, enter the name of the Oracle database to which you want to connect and click Next.
  5. In the Select Protocols window, select the protocol you want and click Next.
  6. In the Protocol window, depending on the protocol you selected, enter the appropriate information and click Next.
  7. In the Net Test window, select whether you want to test the connection, and click Next.
  8. In the Net Service Name window, enter a name for the net service and click Next.
  9. Answer the remaining prompts, which allow you to configure another net service name, and then click Finish to complete the configuration.

    Oracle Net Configuration Assistant creates the tnsnames.ora file in the following location:

    ORACLE_HOME\network\admin\tnsnames.ora

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值