Oracle XE 11g(Windows 8)我无法连接到数据库(空闲实例)

use*_*652 2 oracle oracle11g

嗨我有空闲实例的问题

当我尝试:

sqlplus / as sysdba
Run Code Online (Sandbox Code Playgroud)

我得到结果: Connected to an idle instance.

当我尝试启动时,我得到:

ORA-01078: failure in processing system parameters
ORA-01565 error in identifying file 'C:\oraclexe\app\oracle\product\11.2.0\server\dbs/spfileXE.ora
ORA-27041: unable to open file
ORA-04002: unable to open file
O/S-Error: (OS 2) File not found;

我的系统是Windows 8.你知道如何解决它吗?

解决方案:我必须使用命令启动:

startup pfile='<path to file>/init.ora'
Run Code Online (Sandbox Code Playgroud)

并在init.ora中更改所有路径

<ORACLE_BASE>
Run Code Online (Sandbox Code Playgroud)

谢谢你的帮助

小智 5

我也有那种痛苦.

要安装Oracle XE,您应该以本地admin - NOT域帐户身份登录.这个https://community.oracle.com/thread/2361291让我开心:)