Installation and use of Sqlplus

Source: Internet
Author: User
Tags sqlplus

Chinese New Year at home no matter, also because oneself is small white, in order to review, tidy up a bit sqlplus use method, usually use Sqlplus there are two cases, is nothing more than local link and remote connection.                When the local link is the time, in the installation of the Oracle,sqlplus tool is their own, do not need to install, of course, I am the installation of Oracle 11g, other unclear, it should be the same! Sqlplus/as SYSDBA [Linux] This command is logged to the instance with the SYS user, executing this command locally, the execution succeeds, and does not mean that you can use the database, because Sqlplus is only a link to the local user and the database              Link, you log in, you also need to start the database startup to execute a variety of SQL statements. Sqlplus username/[email protected]:port/sid/as sysdba Port if not changed, it is 1521; if modified, forget the port, in the Oracle user's

  • ***********************************  I'm a split line. &NBSP, ************************ ***************

      by the way, the installation method of Sqlplus under Linux            The first step: Oracle is to provide sqlplus tools, find the official website, registered users,   download three   package, devel, Basic, Sqlplus. Preferably the latest version, compatibility is strong, preferably RPM package, installation is relatively simple;           the second step: 
  • 1.  installation of 3 software   basic devel sqlplus 2.  configuration .bash_profile  files [[email  Protected] ~]# cat ~/.bash_profile # .bash_profile# get the aliases  and functionsif [ -f ~/.bashrc ]; then. ~/.bashrcfi# User  Specific environment and startup programspath= $PATH: $HOME/binexport oracle_home=/usr/ Lib/oracle/12.2/client64export ld_library_path= $ORACLE _home/lib: $LD _library_pathexport path= $ORACLE _ Home/bin: $PATH 
  • 3. Install the Rlwrap software, the main purpose of this software is, in the use of sqlplus, can not be able to scroll up and down their executed statements, install the software, can be flipped up and down
  • Source installation./configure Make;make Install dependent: gcc* ReadLine
  • HTTP://BLOG.CSDN.NET/WEEKND/ARTICLE/DETAILS/71037499 can refer to this for installation




Installation and use of Sqlplus

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.