1、先确认是否输错 用户名和密码
2、如果的确是丢失密码的话:
查看ORACLE_BASEORACLE_HOMENETWORKADMIN的sqlnet.ora文件
sqlnet.ora 如果是 SQLNET.AUTHENTICATION_SERVICES= (NONE) ,
需更改为SQLNET.AUTHENTICATION_SERVICES= (NTS)
在SQL*Plus中执行如下命令:
SQL>conn/as sysdba (操作系统认证登录)
SQL>alter user system identified by system; (回车后用户system的密码会更改为system)
===============================================================
注意:在执行更改语句“SQL>alter user system identified by system; (回车后用户system的密码会更改为system) ”的时候,如果所改的秘密为一串数字的话,要用引号括起来哦~
eg:SQL>alter user system identified by “12345678”;