Connect Oracle to remote server

Source: Internet
Author: User
1. The oracle Database client was installed before. The method for connecting to the oracle database on the remote server was as follows: 2. Later, the system was reinstalled, and oracle was installed.

1. The oracle Database client was installed before. The method for connecting to the oracle database on the remote server was as follows: 2. Later, the system was reinstalled, and oracle was installed.

1. The Oracle Database client was installed. The method for connecting to the oracle database on the remote server is as follows:

2. Later, the system was reinstalled and oracle was installed. The method for connecting to the oracle database on the remote server was as follows:

1. Open the program-Oracle-OraDB10g_home1-Configuration and Migration Tools-net configuration assistant

2. configure the local net service name-add-service name (enter the database name in the remote server to be connected)-select tcp protocol-Host Name (enter the Server IP address) -"test?" (select test. If the test fails, change the logon status, enter the user name and password, and then test again) -"test succeeded"-"Net service name" (the service name filled in above by default. You do not need to change the name. If you change the name, you need to change the name of the connection)

// The following listener is not configured, but can be used.

3. listener Configuration-add-listener name (as long as it does not exist, but it is best to fill in the database name to be connected for later search) -Select tcps and tcp-use the standard port number-and click OK.

4. Click Finish

After the above two methods are configured, how do I connect?

Method 1: On the plsql interface:

User Name

Password

Database

Nomal

Enter them in sequence.

You can connect to the oracle database on the remote server.

Method 2:

Click SQLPLUS. the user name, password, and host string (configured local service name) are displayed)

You can connect to it.

Method 3:

Enter cmd in the Start Operation and then enter

Sqlplus user_name/password @ local service name

Basically, to connect to the oracle database on the remote server, you need to configure the "local service". One aspect is through the graphical interface (net configuration assistant --- actually modifying the file) one is to directly modify the file

Open Program-Oracle-OraDB10g_home1-Configuration and Migration Tools-net configuration assistant

2. configure the local net service name-add-service name (enter the database name in the remote server to be connected)-select tcp protocol-Host Name (enter the Server IP address) -"test?" (select test. If the test fails, change the logon password, enter the user name and password, and then test again) -"test succeeded"-"Net service name" (the service name filled in above by default. You do not need to change the name. If you change the name, you need to change the name of the connection)

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.