[oracle@localhost ~]$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.4.0 Production on Tue Oct 27 16:10:14 2020
Copyright © 1982, 2013, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> sqlplus / as sysdba
SP2-0734: unknown command beginning “sqlplus / …” - rest of line ignored.
SQL> alter user scott account unlock;
User altered.
SQL> conn scott/tiger;
Warning: You are no longer connected to ORACLE.
【解决方法】
SQL> conn / as sysdba;
Connected.
SQL> grant create session to scott;
Grant succeeded.
SQL> conn scott/tiger;
Connected.
SQL>