首页
学习
活动
专区
圈层
工具
发布
社区首页 >专栏 >Oracle 数据库查看具有sysdba系统权限用户,设置、重置sys用户密码

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

作者头像
小蓝枣
发布于 2021-12-01 13:43:27
发布于 2021-12-01 13:43:27
3.3K0
举报

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

代码语言:javascript
复制
C:\Users\Administrator>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;

用户已更改。
本文参与 腾讯云自媒体同步曝光计划,分享自作者个人站点/博客。
原始发表:2020/12/09 ,如有侵权请联系 cloudcommunity@tencent.com 删除
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档