实际上,我忘记了Oracle 10g Ex的用户名和密码。有没有办法找到它们?
答案 0 :(得分:1)
以属于'dba'[unix]或'ora_dba'[windows]组的用户(通常是'oracle')或Windows机器上的管理员身份登录数据库服务器。然后,您将能够以SYS用户身份登录Oracle,并通过执行以下操作更改SYSTEM密码
SELECT * FROM AlertsTbl
WHERE Email IN (
SELECT Email
FROM AlertsTbl
GROUP BY Email
HAVING COUNT(*) = 1)
接下来,我们需要更改SYS的密码:
$ sqlplus "/ as sysdba"
SQL*Plus: Release 9.2.0.1.0 - Production on Mon Apr 5 15:32:09 2004
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
With the OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production
SQL> show user
USER is "SYS"
SQL> passw system
Changing password for system
New password:
Retype new password:
Password changed
SQL> quit
您现在应该可以使用您输入的密码登录SYS和SYSTEM用户。