登陆sqlplus时出现了这样的错误: ORA-01017: invalid username⼀password; logon denied

2025-01-04 08:55:30
推荐回答(1个)
回答1:

SQL>
conn
/
as
sysdba
SQL>
alter
user
SCOTT
account
unlock
identified
by
tiger;
User
altered.
SQL>
select
username,account_status
from
dba_users
where
username='SCOTT';
USERNAME
ACCOUNT_STATUS
------------------------------
--------------------------------
SCOTT
OPEN
SQL>
conn
scott/tiger
Connected.
SQL>
select
*
from
tab;
TNAME
TABTYPE
CLUSTERID
------------------------------
-------
----------
DEPT
TABLE
EMP
TABLE
BONUS
TABLE
SALGRADE
TABLE