thanks for reading
- Problem Description
- solution
-
- 1. Win+R to open the command line and enter: sqlplus, or use sqlplus / as sysdba; no password is required.
- 2. Suppose the account we want to unlock is scott
- 3. Change the password to avoid being locked again
- 4. Restart the service or client (depending on whether you are a desktop version or a server version), it is finished
Problem Description
This error occurs because Oracle has entered the wrong password many times or the installation has not modified something.
solution
1. Win+R to open the command line and enter: sqlplus, or use sqlplus / as sysdba; no password is required.
Use the system or sys account to log in, and the password is the administrative password entered during Oracle installation.
2. Suppose the account we want to unlock is scott
alter user scott account unlock
3. Change the password to avoid being locked again
alter user username identified by password
Among them, username is the user name (such as: scott), and password is the new password.
By the way, the solution for forgetting to put a semicolon: just put a semicolon in the next line, as shown in the figure