Connect the oracle 10g client to the oracle 9i Database

Source: Internet
Author: User


The oracle 10g client connects to the oracle 9i Database oracle10g client to connect to the oracle9i database. Net Manager Configuration profile: naming method: TNSNAMES service name: Create-next step to page 4th, select the SID (oracle8 or a lower version) and enter the database name, for example, ecoradb (the oracle9i database is used. Why do you choose this one? It cannot be said, but it is actually selected, if you do not select this, pl/SQL will report ORA-12154: TNS: unable to resolve the error of the specified connection identifier when connecting to the database) www.2cto.com originally tnsnames. ora format: 12.2.26.123 = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP) (HOST = 12.2.26.123) (PORT = 1521 ))) (CONNECT_DATA = (SERVICE_NAME = ecoradb) Final tnsnames. ora format: 12.2.26.123 = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP) (HOST = 12.2.26.123) (PORT = 1521 ))) (CONNECT_DATA = (SID = ecoradb) the difference is that service_name is changed to sid www.2cto.com. The complete configuration is as follows: SQL code # tnsnames. ora Network Configuration File: D: \ oracle \ product \ 10.2.0 \ client_1 \ NETWORK \ ADMIN \ tnsnames. ora # Generated by Oracle configuration tools. 12.2.26.123 = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP) (HOST = 12.2.26.123) (PORT = 1521) (CONNECT_DATA = (SID = ecoradb ))) www.2cto.com ECORADB = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP) (HOST = 12.2.26.123) (PORT = 1521) (CONNECT_DATA = (SID = ecoradb )))

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.