默认在登录root权限下,转到oracle用户权限下

1[root@localhost /]#

2[root@localhost /]# su - oracle

3[oracle@localhost ~]$

注意,在su的时候,中间一定要加横杠,否则实际上面没有真实切换掉用户,

关闭Oracle 9i 数据库

打印 帮助

1[oracle@localhost ~]$ sqlplus "/ as sysdba" //以sysdba用户登陆数据库

2SQL*Plus: Release 9。

0。1。0。0 - Production on Wed Jul 11 15:35:31 2001

3(c) Copyright 2001 Oracle Corporation。 All rights reserved。

4

5Connected to:

6Oracle9i Enterprise Edition Release 9。

0。1。0。0 - Production

7With the Partitioning option

8JServer Release 9。0。1。0。0 - Production

运行shudown命令关闭数据库

1SQL> shutdown

2Database closed。

3Database di***ounted。

4Oracle instance shut down。

5SQL>

启动Oracle 9i 数据库

01[oracle@localhost ~]$ sqlplus " / as sysdba"

02SQL*Plus: Release 9。

0。1。0。0 - Production on Wed Jul 11 16:00:59 2001

03(c) Copyright 2001 Oracle Corporation。 All rights reserved。

04Connected to an idle instance。

05SQL> startup

06Oracle instance started。

07Total System Global Area 336356520 bytes

08Fixed Size 279720 bytes

09Variable Size 268435456 bytes

10Database Buffers 67108864 bytes

11Redo Buffers 532480 bytes

12Database mounted。

13Database opened。

14SQL>。

全部

Logo

魔乐社区(Modelers.cn) 是一个中立、公益的人工智能社区,提供人工智能工具、模型、数据的托管、展示与应用协同服务,为人工智能开发及爱好者搭建开放的学习交流平台。社区通过理事会方式运作,由全产业链共同建设、共同运营、共同享有,推动国产AI生态繁荣发展。

更多推荐