Forgot Oracle username and password, how to retrieve?

前端 未结 5 1684
暗喜
暗喜 2020-12-28 20:21

I have forgotten my Oracle username and password and hence not able to use it. My Oracle version is 11.2.0.1.0(11g). I consulted Internet. They asked me to execute commands

5条回答
  •  情歌与酒
    2020-12-28 21:14

    Go to SQL command line:- type:

    sql>connect / as sysdba;
    

    then type:

    sql>desc dba_users;
    

    then type:

    sql>select username,password from dba_users;
    

    If sysdba doesn't work then try connecting with username:scott and password: Tiger

    You will be able to see all users with passwords. Probably you might find your's. Hope this helps

提交回复
热议问题