• 欢迎访问搞代码网站,推荐使用最新版火狐浏览器和Chrome浏览器访问本网站!
  • 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏搞代码吧

改变数据库实例名称

mysql 搞代码 4年前 (2022-01-09) 23次浏览 已收录 0个评论

欢迎进入Oracle社区论坛,与200万技术人员互动交流 >>进入 改变数据库实例名称 env : Windows + oracle8i ———————————- 1.Be sure database closed.if not ,please shutdown first. 2.利用oradim 可以创建服务, ORADIM -NEW -SID new

欢迎进入Oracle社区论坛,与200万技术人员互动交流 >>进入

改变数据库实例名称

env : Windows + oracle8i
———————————-

1.Be sure database closed.if not ,please shutdown first.

2.利用oradim 可以创建服务,
> ORADIM -NEW -SID newname -INTPWD pwdnewname.pwd -STARTMODE AUTO -PFILE yourpfile,then you can see the new servcie .

3. Be sure the ORACLE_SID is set in the registry correctly. Goto
Start button–>RUN–>type regedt32–>
Goto the following directory tree within the registry –
HKEY_LOCAL_MACHINE -> SOFTWARE -> ORACLE –
highlight ORACLE – look on the left side look for ORACLE_SID =
To change you can highlight ORACLE_SID – right click on your mouse and
select modify.
Enter the SID.
The above is only valid when using DEFAULT_HOME, when you have another
home then you need to highlight that HOME under ORACLE key
usually HOME1-HOMEx . No spaces can be entered after the = when setti本文来源gaodai$ma#com搞$代*码*网(ng ORACLE_SID
at the DOS Prompt, set oracle_sid=xyz should be used and not
set oracle_sid = xyz

4.Be sure the new instance is started Goto
Start–>Settings–>Control Panel–>Services
and check if the database service is started.

5..in Command line prompt, SET ORACLE_SID=NEWNAME

6.Startup the database ,then you can view v$instance,you will see your new instance name here.


搞代码网(gaodaima.com)提供的所有资源部分来自互联网,如果有侵犯您的版权或其他权益,请说明详细缘由并提供版权或权益证明然后发送到邮箱[email protected],我们会在看到邮件的第一时间内为您处理,或直接联系QQ:872152909。本网站采用BY-NC-SA协议进行授权
转载请注明原文链接:改变数据库实例名称
喜欢 (0)
[搞代码]
分享 (0)
发表我的评论
取消评论

表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址