Sql*plus command-line tools to connect to Oracle database

Source: Internet
Author: User

1. Enter "Sqlplus/nolog" on the command line to start the tool.

2. Connect to Oracle Server conn username/password @ server connection string as connection identity

The client tool connects to the server based on the server connection string, and after the connection string, the client can operate the remote database as if it were native, so the configuration of the "Server connection string" is also called the local Network service configuration, if the Sql*plus tool is started on the server, And in the case of only one DB instance on the server, the connection string can be set by default, including the protocol to the server, the address of the server, the port of the server, etc. in the connection string, the configuration file is in the Oracle installation directory: network/admin/ Tnsnames.ora. The file is a text file that opens as follows:

Contains:

3. Next, you can manipulate the database.

Sql*plus command-line tools to connect to Oracle 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.