zl程序教程

您现在的位置是:首页 >  数据库

当前栏目

Oracle 数据库查看具有sysdba系统权限用户,设置、重置sys用户密码

2023-03-20 15:36:21 时间

sysdba 是系统权限,dba 是用户对象权限。 用 sysdba 系统权限身份登录后再用 show user 命令即可看到哪个用户有系统权限了。 alter user 用户 identified by 密码; 命令即可修改用户密码了。

C:UsersAdministrator>sqlplus / as sysdba

SQL*Plus: Release 11.2.0.3.0 Production on 星期二 11月 24 13:58:34 2020

Copyright (c) 1982, 2011, Oracle.  All rights reserved.


连接到:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

SQL> show user
USER 为 "SYS"
SQL> alter user sys identified by 1;

用户已更改。