Oracle手动创建数据库,执行以下命令,提示错误: 第1行出现错误:ORA-01034:ORACLE not available
CREATEDATABASEmydbUSERSYSIDENTIFIEDBYoracleUSERSYSTEMIDENTIFIEDBYoracleLOGFILEGROUP1(...
CREATE DATABASE mydb
USER SYS IDENTIFIED BY oracle
USER SYSTEM IDENTIFIED BY oracle
LOGFILE GROUP 1 ('D:\oracle\product\10.2.0\oradata\mydb\redo01.log') SIZE 100M,
GROUP 2 ('D:\oracle\product\10.2.0\oradata\mydb\redo02.log') SIZE 100M,
GROUP 3 ('D:\oracle\product\10.2.0\oradata\mydb\redo03.log') SIZE 100M
MAXINSTANCES 8
MAXLOGHISTORY 1
MAXLOGFILES 16
MAXLOGMEMBERS 3
MAXDATAFILES 100
CHARACTER SET AL32UTF8
NATIONAL CHARACTER SET AL16UTF16
DATAFILE 'D:\oracle\product\10.2.0\oradata\mydb\SYSTEM01.DBF' SIZE 325M REUSE
EXTENT MANAGEMENT LOCAL
SYSAUX DATAFILE 'D:\oracle\product\10.2.0\oradata\mydb\SYSAUX01.DBF' SIZE 325M REUSE
DEFAULT TABLESPACE tbs_1
DEFAULT TEMPORARY TABLESPACE TEMP
TEMPFILE 'D:\oracle\product\10.2.0\oradata\mydb\TEMP01.DBF' SIZE 20480K REUSE AUTOEXTEND ON NEXT 640K MAXSIZE UNLIMITED
UNDO TABLESPACE UNDOTBS1
DATAFILE 'D:\oracle\product\10.2.0\oradata\mydb\undotbs01.dbf' SIZE 200M REUSE AUTOEXTEND ON MAXSIZE UNLIMITED;
请高手指教下,应该怎样编写语句才正确; 展开
USER SYS IDENTIFIED BY oracle
USER SYSTEM IDENTIFIED BY oracle
LOGFILE GROUP 1 ('D:\oracle\product\10.2.0\oradata\mydb\redo01.log') SIZE 100M,
GROUP 2 ('D:\oracle\product\10.2.0\oradata\mydb\redo02.log') SIZE 100M,
GROUP 3 ('D:\oracle\product\10.2.0\oradata\mydb\redo03.log') SIZE 100M
MAXINSTANCES 8
MAXLOGHISTORY 1
MAXLOGFILES 16
MAXLOGMEMBERS 3
MAXDATAFILES 100
CHARACTER SET AL32UTF8
NATIONAL CHARACTER SET AL16UTF16
DATAFILE 'D:\oracle\product\10.2.0\oradata\mydb\SYSTEM01.DBF' SIZE 325M REUSE
EXTENT MANAGEMENT LOCAL
SYSAUX DATAFILE 'D:\oracle\product\10.2.0\oradata\mydb\SYSAUX01.DBF' SIZE 325M REUSE
DEFAULT TABLESPACE tbs_1
DEFAULT TEMPORARY TABLESPACE TEMP
TEMPFILE 'D:\oracle\product\10.2.0\oradata\mydb\TEMP01.DBF' SIZE 20480K REUSE AUTOEXTEND ON NEXT 640K MAXSIZE UNLIMITED
UNDO TABLESPACE UNDOTBS1
DATAFILE 'D:\oracle\product\10.2.0\oradata\mydb\undotbs01.dbf' SIZE 200M REUSE AUTOEXTEND ON MAXSIZE UNLIMITED;
请高手指教下,应该怎样编写语句才正确; 展开
4个回答
展开全部
首先可以确定的说:ORA-01034:ORACLE not available 说明你的数据库没有启动到mount状态下,执行建库脚本需要数据启动到mount下.
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
:ORA-01034:ORACLE not available 这个已经很明显了 估计你实例都没起
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询