title: Unlock an account in oracle 12c database
body: <p>I tried to run a spring mvc code and got a jdbc connection error: cannot open connection. I tried to connect the database in sqldeveloper but my account was locked.</p>
  
  <p>So I tried using sqlplus in command prompt. Since I am having multiple db_homes, and oracle home was not set it throwed an error sqlplus is not an internal command. I have fixed it by checking the db_home path and fixed and after that I gave the command "alter user system account unlock" it altered.</p>
  
  <p>Then I tried to connect the database in sql developer with the user name and password but still its locked. Is that anyother thing, I need to do to unlock the account? Please need suggestion on this. It was working earlier.</p>