---
title: "oracle windows环境 手动启动 "
author: "blueram"
date: "2010-03-17T17:29:03Z"
tags: ["C#", "Linux", "Oracle", "SQL", "Windows"]
categories: ["数据库"]
slug: "oracle-windows"
draft: false
lastmod: "2010-03-31T17:02:33Z"
id: 618276
url: "https://blueram.iteye.com/blog/618276"
---

今天想学习下oracle 的几种启动模式，nomount,mount,open.

但是却不行。最后找到了原因，oracle在windows平台启动的时候在实例启动的

时候默认已经启动了整个数据库。

 

修改注册表的启动项

 

HKEY\_LOCAL\_MACHINE\\SOFTWARE\\ORACLE\\KEY\_OraDb10g\_home1\\ORA\_ORCL\_AUTOSTART

的值改为FALSE;

 

 然后再启动监听服务和实例的服务就可以了

```
C:\WINDOWS\system32>sqlplus

SQL*Plus: Release 10.2.0.1.0 - Production on 星期三 3月 17 17:15:30 2010

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

请输入用户名:  sys/oracle as sysdba
已连接到空闲例程。

SQL> startup
ORACLE 例程已经启动。

Total System Global Area  612368384 bytes
Fixed Size                  1250428 bytes
Variable Size             247466884 bytes
Database Buffers          356515840 bytes
Redo Buffers                7135232 bytes
数据库装载完毕。
数据库已经打开。
SQL>
```

 

linux下的

[http://blog.chinaunix.net/u/7334/showart\_1098103.html](http://blog.chinaunix.net/u/7334/showart_1098103.html)

 

 

在sqlnet.ora添加

SQLNET.AUTHENTICATION\_SERVICES=(NTS)