数据库未打开
收到以下错误消息
我正在尝试在 Windows 2008 服务器上使用 Oracle 11g R2 创建数据库,当我运行脚本来创建数据库实例时,我将在第 1 行 ERROR: ORA-01109: 数据库未打开
使用授予选项将 ALL_MVIEW_DETAIL_PARTITION 上的选择授予公共 *
第 1 行出现错误: ORA-01109: 数据库未打开
以管理员身份登录。`
谢谢, 用户玛
I am trying to create database using Oracle 11g R2 on windows 2008 server, when I run script to create database instance I will get the following error message
ERROR at line 1:
ORA-01109: database not open
grant select on ALL_MVIEW_DETAIL_PARTITION to public with grant option
*
ERROR at line 1:
ORA-01109: database not open
logged on as administrator.`
Thanks,
usermma
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
使用 root 登录 Oracle
为了解决这个问题,我尝试了以下步骤并成功创建了架构。
确保关闭 Oracle 服务器后,如果您发现任何服务在计算机上运行,请输入以下命令
<前><代码>ps -ef | grep ora_ | | grep ora_ grep 数据库名称(sid)
如果发现任何服务,请使用 Kill 命令杀死进程
请检查上述路径中是否存在以下文件;如果没有,请创建。
start mount;
如果服务器已启动,请立即关闭现在,您可以在数据库打开时创建自己的架构
我已完成上述步骤以在数据库未打开时创建架构。
Login to Oracle with root
To resolve this i trie below steps and succesfully created the schema.
Make ensure that after shutting down the Oracle server,if you find any services running on machine by entering below command
Kill the processes if you find any by using kill command
Please check below file exists in mentioned path; if not please create.
start mount;
If the server is started use close immediateNow you can create your own schema as the database is open
I have done above steps to create a schema when database is not open.
依次执行以下命令....
用户名/密码= sys/********
Execute below Commands Sequentially....
username/password = sys/*******
您是如何创建脚本的?它有什么作用?您不使用数据库配置助手来执行此操作是否有某种原因?这可能只是没有通过 oradim 创建的实例的服务的问题。
How did you create the script(s)? What does it do? Is there some reason you're not using the Database Configuration Assistant to do this? It may be simply a matter of not having the service for the instance created via
oradim.