免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 4084 | 回复: 12
打印 上一主题 下一主题

问:当忘记了oracle口令时应该怎么办? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-07-29 14:53 |只看该作者 |倒序浏览
现在数据库已经进不去了
请问有什么办法可以解决啊

谢谢大家

论坛徽章:
1
数据库技术版块每日发帖之星
日期:2015-11-22 06:20:00
2 [报告]
发表于 2006-07-29 17:11 |只看该作者
(如果oracle没有口令)以root用户进去,su到oracle用户下,用sqlplus "/as sysdba"
进去后就可以修改.

论坛徽章:
0
3 [报告]
发表于 2006-07-29 18:14 |只看该作者
orapwd重新生成密码文件

论坛徽章:
0
4 [报告]
发表于 2006-07-30 12:13 |只看该作者
同一楼上的!

论坛徽章:
0
5 [报告]
发表于 2006-07-30 12:42 |只看该作者
是,改口令文件

论坛徽章:
0
6 [报告]
发表于 2006-07-30 15:42 |只看该作者
修改用户密码

sqlplus "/@服务名 as sysdba"
然后在sqlplus中
alter user sys identified by 新密码;
alter user system identified by 新密码;

论坛徽章:
0
7 [报告]
发表于 2006-07-31 11:35 |只看该作者
同意6楼的

论坛徽章:
0
8 [报告]
发表于 2006-08-01 00:06 |只看该作者
@服务名 请问这个服务名是什么意思?    我去什么地方可以看出来啊?


另外

sqlplus "/@服务名 as sysdba"
  上面这句话我直接在cmd 下输入就可以了是不是啊?

谢谢

论坛徽章:
0
9 [报告]
发表于 2006-08-01 11:29 |只看该作者
支持 6楼的

论坛徽章:
0
10 [报告]
发表于 2006-08-01 17:09 |只看该作者
TO txkss:

You must come into the system as oracle user.

Next.

Enter the following command:

sqlplus /nolog

connect / as sysdba

alter user sys identified by 'your password'

alter user system identified by 'your password'

Below is an example:

[oracle@localhost oracle]$ sqlplus /nolog

SQL*Plus: Release 9.2.0.1.0 - Production on Tuesday Auguest 1 17:15:31 2006

Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.

SQL> connect / as sysdba
Connected.
SQL> alter user sys identified by txkss123456;

User altered.
SQL> alter user system identified by txkss123456;

User altered.
SQL>quit

Now your password for the user sys and system is txkss123456.

Thanks.

[ 本帖最后由 beautiful 于 2006-8-1 17:34 编辑 ]
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP