ora-01017 invalid username/password;logon denied

云飞_ 2012-02-21 06:48:53
如题,oracle10g 版本10.2.0 数据库都是默认安装的,别的地方没有修改。
建立用户语句如下


create tablespace demo datafile 'D:\oracle\product\10.2.0\oradata\orcl\demo.dbf' size 100m autoextend on next 10m;

create user demo identified by demo default tablespace demo ;

grant dba to demo;

grant all on dual to appsys with grant option;


为什么建立以后,PLSQL我只能用demo/sysdba 登陆。而normal 登陆不了啊,提示如标题。。。高手指教
alter user demo account unlock ;这样我也试了,不管事啊。。。。
...全文
476 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
云飞_ 2012-02-27
  • 打赏
  • 举报
回复

问题语句如下 -------------
-- Create the user
create user ITOM
default tablespace ITOM
temporary tablespace TEMP
profile DEFAULT;
-- Grant/Revoke object privileges
grant select, insert, update, delete, references, alter, index on DUAL to ITOM with grant option;
-- Grant/Revoke role privileges
grant connect to ITOM with admin option;
grant resource to ITOM with admin option;
-- Grant/Revoke system privileges
grant unlimited tablespace to ITOM with admin option;

上边是我用plsql建立用户 itom 的语句,用sysdba身份登录。能行,但是用normal 提示 ora-01017 invalid username/password;logon denied

感谢各位帮忙,现问题已解决。散分。。



-- Create the user
create user ITOM1
default tablespace ITOM1
temporary tablespace TEMP
profile DEFAULT;
-- Grant/Revoke role privileges
grant connect to ITOM1;
grant resource to ITOM1;
-- Grant/Revoke system privileges
grant create any view to ITOM1;
grant create materialized view to ITOM1;
grant select any dictionary to ITOM1;
grant unlimited tablespace to ITOM1;

一上语句测试通过,个人估计是
grant connect to ITOM with admin option; with admin option 造成的
「已注销」 2012-02-23
  • 打赏
  • 举报
回复
我是过了 可以登录
把问题出现的具体操作描述一下
mingchaoyan 2012-02-21
  • 打赏
  • 举报
回复
多发帖没用的,高手看到了自然会帮你,但是csdn oracle 板块相当冷清呀
云飞_ 2012-02-21
  • 打赏
  • 举报
回复
是啊 。。。这个问题没解决呢。。。。我也晕啊。。。
mingchaoyan 2012-02-21
  • 打赏
  • 举报
回复
晕 怎么又发了个贴。。。。

3,491

社区成员

发帖
与我相关
我的任务
社区描述
Oracle 高级技术相关讨论专区
社区管理员
  • 高级技术社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧