忘记 Oracle 的 SYSYTEM 密码

此方法只能在本机登陆使用

  1. 启动sqlplus
// sqlplus 要在环境变量中,否则直接点开 sqlplus.exe 程序
> sqlplus.exe
  1. 进入
    SYSDBA 拥有Oracle 系统的最高权限,现在登陆并拥有 SYSDBA 权限。
请输入用户名:/as sysdba
连接到:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

SQL> 
  1. 修改密码
    下面尝试修改 system 密码
SQL> alter user system identified by new_passwd;
用户已更改。

SQL> conn system/new_passwd;
已连接。

你可能感兴趣的:(忘记 Oracle 的 SYSYTEM 密码)