oracle数据库无法登陆,Oracle 10G 以normal身份登陆数据库无法登陆

Microsoft Windows XP [版本 5.1.2600]

(C) 版权所有 1985-2001 Microsoft Corp.

C

266faa3e2451dd0bb0047cc3ca69ae30.gifocuments and Settingsuser>sqlplus sys/admin@cjec as sysdba

SQL*Plus: Release 10.1.0.2.0 - Production on 星期五 6月 6 10:29:35 2008

Copyright (c) 1982, 2004, Oracle.  All rights reserved.

Connected to:

Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production

With the Partitioning, OLAP and Data Mining options

SQL> drop user "ship" cascade;

drop user "ship" cascade

*

ERROR at line 1:

ORA-01918: user 'ship' does not exist

SQL> CREATE USER "ship"  PROFILE "DEFAULT"

2      IDENTIFIED BY "ship0987" DEFAULT TABLESPACE "CJEC"

3      ACCOUNT UNLOCK;

User created.

SQL> GRANT "CONNECT" TO "ship" WITH ADMIN OPTION;

Grant succeeded.

SQL> GRANT "DBA" TO "ship" WITH ADMIN OPTION;

Grant succeeded.

SQL> GRANT "CREATE SESSION" TO "SHIP" WITH ADMIN OPTION;

GRANT "CREATE SESSION" TO "SHIP" WITH ADMIN OPTION

*

ERROR at line 1:

ORA-01917: user or role 'SHIP' does not exist

SQL> CONN SHIP AS SYSDAB

SP2-0306: Invalid option.

Usage: CONN[ECT] [logon] [AS {SYSDBA|SYSOPER}]

where   ::= [/][@] | /

SQL> CONN SHIP AS SYSDBA

Enter password:

Connected.

SQL> ALTER USER "SHIP" IDENTIFIED SHIP0987;

ALTER USER "SHIP" IDENTIFIED SHIP0987

*

ERROR at line 1:

ORA-00924: missing BY keyword

SQL> ALTER USER "SHIP" IDENTIFIED BY SHIP0987;

ALTER USER "SHIP" IDENTIFIED BY SHIP0987

*

ERROR at line 1:

ORA-01918: user 'SHIP' does not exist

SQL> CONN SHIP

Enter password:

ERROR:

ORA-01017: invalid username/password; logon denied

Warning: You are no longer connected to ORACLE.

SQL> CONN SHIP AS SYSDBA

Enter password:

Connected.

SQL> ALTER USER SHIP IDENTIFIED BY SHIP0987;

ALTER USER SHIP IDENTIFIED BY SHIP0987

*

ERROR at line 1:

ORA-01918: user 'SHIP' does not exist

SQL> Alter user "ship" identified by ship0987;

User altered.

SQL> shutdown immediate;

Database closed.

Database dismounted.

ORACLE instance shut down.

SQL> startup

ORACLE instance started.

Total System Global Area  171966464 bytes

Fixed Size                   787988 bytes

Variable Size             145488364 bytes

Database Buffers           25165824 bytes

Redo Buffers                 524288 bytes

Database mounted.

Database opened.

SQL> conn ship

Enter password:

ERROR:

ORA-01017: invalid username/password; logon denied

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值