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)