Oracle client does not need to configure the Tnsnames.ora file to directly connect to the server database

Source: Internet
Author: User
Tags sqlplus

During previous Oracle use, when the client was connected to the server, the Tnsnames.ora file in the client was configured as follows:

= =    = = = = 192.168         . 1.150 = 1521         )))) ())))      

But today I accidentally learned from colleagues that a way to directly access a database without configuring this content is to use the following command when Sqlplus a connection:

C:\Users\Administrator>Sqlplus/Nologsql*Plus:release11.2.0.1.0Production onFriday JulyTen  the: the: +  -Copyright (c)1982, ., Oracle. Allrights reserved. SQL>Conn User Name/Password@ server Address: Port/Service_Name is connected. SQL> 

This allows you to connect directly to the server, using the PL/SQL developer connection directly to the " server address: Port /service_name" to the database text box can be

Oracle client does not need to configure the Tnsnames.ora file to directly connect to the server database

Related Article

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.