先执行 set oracle_sid='xx'(你的oracle_sid 的值) sqlplus / as sysdba 能连上去吗? 能连上的话, alter user lenovo identified by oracle 然后再 sqlplus lenovo/oracle 试试
1、输密码本来就不动 2、返回密码错误,实例大概是正常的 3、cmd里 sqlplus "/ as sysdba"看下能否登录 4、你的密码是不是搞出来大小之类了,如果有,在密码加双引号试试“password”
系统提示,用户名和密码出错,那就肯定就是错了。你用 sys 登录一下,把 你这两个用户的密码修改一个新,再登录试试。PS:你新建的数据库,不应该有 lenovo 这个用户。 C:\>sqlplus "/as sysdba"SQL*Plus: Release 11.2.0.1.0 Production on 星期六 9月 27 08:16:51 2014Copyright (c) 1982, 2010, Oracle. All rights reserved. 连接到: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production With the Partitioning, OLAP, Data Mining and Real Application Testing optionsSQL> alter user system identified by oracle ;用户已更改。SQL> conn system/oracle 已连接。 SQL>
如果oracle是系统认证,就可以sqlplus/nolog,然后conn /as sysdba,接着alter user xxx identified by xxx, 最后登陆就可以。 登陆时候要不这样conn xxx/xxx@xxx; 要入conn xxx@xxx,然后输入密码时候只管输入就好了,不要去管光标。
如果能登陆改一下system的密码看能不能登陆
sqlplus /nolog
conn / as sysdba
alter user system identified by oracle;
conn system/oracle
请检查:
另外如果你密码啥都正确?
服务启动正常,或重启监听?
账户是否被锁住了,需要解锁?
sqlplus / as sysdba 能连上去吗?
能连上的话, alter user lenovo identified by oracle
然后再 sqlplus lenovo/oracle 试试
2、返回密码错误,实例大概是正常的
3、cmd里 sqlplus "/ as sysdba"看下能否登录
4、你的密码是不是搞出来大小之类了,如果有,在密码加双引号试试“password”
C:\>sqlplus "/as sysdba"SQL*Plus: Release 11.2.0.1.0 Production on 星期六 9月 27 08:16:51 2014Copyright (c) 1982, 2010, Oracle. All rights reserved.
连接到:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing optionsSQL> alter user system identified by oracle ;用户已更改。SQL> conn system/oracle
已连接。
SQL>
如果oracle是系统认证,就可以sqlplus/nolog,然后conn /as sysdba,接着alter user xxx identified by xxx,
最后登陆就可以。
登陆时候要不这样conn xxx/xxx@xxx;
要入conn xxx@xxx,然后输入密码时候只管输入就好了,不要去管光标。