Forgot Oracle username and password, how to retrieve?

前端 未结 5 1682
暗喜
暗喜 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:20

    if you are on Windows

    1. Start the Oracle service if it is not started (most probably it starts automatically when Windows starts)
    2. Start CMD.exe
    3. in the cmd (black window) type: sqlplus / as sysdba

    Now you are logged with SYS user and you can do anything you want (query DBA_USERS to find out your username, or change any user password). You can not see the old password, you can only change it.

提交回复
热议问题