sqlplus into the Oracle database to change the user name and password

Over time, a lot of things to forget, let alone database password. Separated for a long time did not move Oracle database, a logon appeared to deny login tragedy.

请输入用户名:  system
输入口令:
ERROR:
ORA-01017: 用户名/口令无效; 登录被拒绝


SP2-0157: 在 3 次尝试之后无法连接到 ORACLE, 退出 SQL*Plus

Encountered such a situation, how to change your password? ? ? ?

The first step into the dense-free sqlplus

Please knock the following command

C:\Users\Administrator>sqlplus /nolog

The second step is connected as an administrator

Please knock the following command

SQL> conn /as sysdba

The third step is to modify the password of a user name

Please knock the following command

SQL> alter user 用户名 identified by 口令;

The fourth step login verification

Please knock the following command

C:\Users\Administrator>sqlplus 用户名/口令

I wish to watch a friend of this success!

Published 35 original articles · won praise 30 · views 10000 +

Guess you like

Origin blog.csdn.net/weixin_43792401/article/details/102576328