Oracle server and client Configuration

Source: Internet
Author: User
1. On the oracle server, $ ORACLE_HOMEbinnetca can be used for configuration. The server listens. If the configuration listening does not use the default listening name (listener), it is changed to other

1. You can use $ ORACLE_HOME/bin/netca to configure the listener on the oracle server. If the listener is configured, the default listener name (listener) is not used.

1. you can use $ ORACLE_HOME/bin/netca to configure the listener on the Oracle server. If the listener Configuration does not use the default listener name (listener), but changes it to another name, the startup method is

[Oracle @ admin] $ lsnrctl ora_listener start

If the default value is used

[Oracle @ admin] $ lsnrctl start

2. Configure the client listener

First, you must follow the oracle client or have oracle software. If it is an oracle client, the location is \ oracle \ product \ 10.2.0 \ client_1 \ NETWORK \ ADMIN \ tnsnames. ora

You can add the following configurations:

ORA =

(DESCRIPTION =

(ADDRESS_LIST =

(ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.26.130) (PORT = 1521 ))

)

(CONNECT_DATA =

(SID = ora) // ora is the remote database service_names

)

)

You can use sqlplus scott/tiger @ ora in the cmd command line to connect to a remote database.

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: [email protected] 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.