12
返回列表 发新帖
楼主: pinnacle

help me about connect /as sysdb

[复制链接]
论坛徽章:
1
授权会员
日期:2005-10-30 17:05:33
11#
 楼主| 发表于 2001-11-9 17:45 | 只看该作者
I can connect to oracle on client as normal,but can't connetc as sysdba or sysoper.After I use orapwd command (
orapwd file=oratestpwd password='manager' entries=30 )
and modified init.ora reboot oracle,I conneted internal :

SVRMGR> connect system/manager as sysdba
Connected.
SVRMGR> grant sysdba to scott;
grant sysdba to scott
statement pressed

but I still can't connect user scott to oracle as sysdba,and I
select v$pwfile_users found the view is empty.

SQL> select * from v$pwfile_users;

no rows selected

使用道具 举报

回复
论坛徽章:
1
授权会员
日期:2005-10-30 17:05:33
12#
发表于 2001-11-9 19:58 | 只看该作者
orapwd file=   password= entries=
    pawword 应该为sys 或internal 的password,不应该是system
svrmgrl>connect sys/chang_on_install ;
svrmgrl>grant sysdba to scott ;

使用道具 举报

回复
论坛徽章:
1
授权会员
日期:2005-10-30 17:05:33
13#
 楼主| 发表于 2001-11-9 20:50 | 只看该作者
sorry!
my oracle sys & system password both is 'manager',internal without password

使用道具 举报

回复
论坛徽章:
1
授权会员
日期:2005-10-30 17:05:33
14#
发表于 2001-11-10 08:18 | 只看该作者
那你connect internal 怎么样,我的internal 也没password,password 我用的是sys ,我成功的做好了!

使用道具 举报

回复
论坛徽章:
1
授权会员
日期:2005-10-30 17:05:33
15#
 楼主| 发表于 2001-11-12 09:38 | 只看该作者
I can't connect as sysdba from client ,but can connect as sysdba on server with any user id.

使用道具 举报

回复
论坛徽章:
1
授权会员
日期:2005-10-30 17:05:33
16#
发表于 2001-11-12 09:54 | 只看该作者
In order to connect as sysdba from client ,you must use the password set in your password file ,not the password local. If you not recreate your password file,the password is default to "oracle".Or you can usr OS authentication.

使用道具 举报

回复

您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

TOP技术积分榜 社区积分榜 徽章 团队 统计 知识索引树 积分竞拍 文本模式 帮助
  ITPUB首页 | ITPUB论坛 | 数据库技术 | 企业信息化 | 开发技术 | 微软技术 | 软件工程与项目管理 | IBM技术园地 | 行业纵向讨论 | IT招聘 | IT文档
  ChinaUnix | ChinaUnix博客 | ChinaUnix论坛
CopyRight 1999-2011 itpub.net All Right Reserved. 北京盛拓优讯信息技术有限公司版权所有 联系我们 未成年人举报专区 
京ICP备16024965号-8  北京市公安局海淀分局网监中心备案编号:11010802021510 广播电视节目制作经营许可证:编号(京)字第1149号
  
快速回复 返回顶部 返回列表