(1)使用 SQL*Plus 工具登录
方式1:直接登录
用法:sqlplus 用户名/密码
C:\Users\administrator>sqlplus system/*********SQL*Plus: Release 11.2.0.1.0 Production on 星期一 3月 20 18:06:02 2023Copyright (c) 1982, 2010, Oracle. All rights reserved.连接到: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production With the Partitioning, OLAP, Data Mining and Real Application Testing optionsSQL>
方式2:使用 本地主机IP地址:端口/全局数据库名 登录
用法:sqlplus 用户名/密码@本地主机IP地址:端口/全局数据库名
【备注:本地主机IP地址可以填写 localhost 或 127.0.0.1 等。】C:\Users\administrator>sqlplus system/*********@localhost:1521/orclS