欢迎投稿

今日深度:

oracle 11g 设置用户密码大小写敏感,oracle11g

oracle 11g 设置用户密码大小写敏感,oracle11g


 11g通过一个参数设置密码大小写敏感,下面来做个试验:

C:\Documents and Settings\guogang>sqlplus gg_test/gg_test@10.10.15.25_gg

SQL*Plus: Release 10.2.0.1.0 - Production on 星期一 8月 4 17:54:19 2014
Copyright (c) 1982, 2005, Oracle.  All rights reserved.
连接到:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> select * from v$version;
BANNER
--------------------------------------------------------------------------------
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
PL/SQL Release 11.2.0.1.0 - Production
CORE    11.2.0.1.0      Production
TNS for Linux: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - Production
SQL> show parameter  sec_case_sensitive_logon
NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
sec_case_sensitive_logon             boolean     TRUE


C:\Documents and Settings\guogang>sqlplus gg_test/gg_tesT@10.10.15.25_gg
SQL*Plus: Release 10.2.0.1.0 - Production on 星期一 8月 4 17:54:06 2014
Copyright (c) 1982, 2005, Oracle.  All rights reserved.
ERROR:
ORA-01017: invalid username/password; logon denied
请输入用户名:


C:\Documents and Settings\guogang>sqlplus gg_test/gg_test@10.10.15.25_gg
SQL*Plus: Release 10.2.0.1.0 - Production on 星期一 8月 4 17:52:35 2014
Copyright (c) 1982, 2005, Oracle.  All rights reserved.
连接到:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> alter system set sec_case_sensitive_logon=false;
系统已更改。

SQL> 从 Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options 断开


C:\Documents and Settings\guogang>sqlplus gg_test/gg_tesT@10.10.15.25_gg
SQL*Plus: Release 10.2.0.1.0 - Production on 星期一 8月 4 17:53:48 2014
Copyright (c) 1982, 2005, Oracle.  All rights reserved.
连接到:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> show parameter  sec_case_sensitive_logon
NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
sec_case_sensitive_logon             boolean     FALSE

oracle 11g登录密码问题

可能原因如,请一一核对:
1、如果你以sys用户登录的话,连接身份请选择【as sysdba】
说明:如果你的sys用户密码在安装的时候没有修改,他的默认密码是:
【change_on_install】。
如果你改了忘记了,可以利用如下方法重置:
1)进入cmd
2)sqlplus / as sysdba
3)alter user sys identified by 新密码;

2、如果是你新建的普通用户登录的话,用户名和密码请重新确认是否正确,如果实在是确认不了的话,使用sqlplus工具按照如下方式重新建一个用户再试

1)进入cmd
2)sqlplus / as sysdba 或者 sqlplus sys/密码 as sysdba
3) create user 用户名 identified by 密码;
4) grant connect,resource to 用户名;
5) conn 用户名/密码
说明:如果第 5)步可以连接成功说明,用户建立成功,就可以用这个用户登录了。

---
以上,希望对你有所帮助。
 

安装oracle 11g的时不小心跳过了口令管理界面,没有设置密码,导致登录不上

你可以使用操作系统认证的方式 登录数据库 ,然后使用命令更改密码即可,方法如下: 打开一个命令提示符 (开始菜单--运行--“cmd”)
sqlplus "/as sysdba"
SQL> alter user sys identified by xxxx;
 

www.htsjk.Com true http://www.htsjk.com/shujukunews/2573.html NewsArticle oracle 11g 设置用户密码大小写敏感,oracle11g 11g通过一个参数设置密码大小写敏感,下面来做个试验: C:\Documents and Settings\guogangsqlplus gg_test/gg_test@10.10.15.25_gg SQL*Plus: Release 10.2.0.1.0 - Prod...
相关文章
    暂无相关文章
评论暂时关闭