- 浏览: 118252 次
- 性别:
- 来自: 上海
文章分类
最新评论
自11g开始,oracle缺省区分帐号的密码大小写(case sensitivity), 而11g以下版本则不区分, 在数据字典中以大写形式存在
下面的测试是在10.2.0.3 建连到11.1.0.7.2的db link
kytetang(汤建国) 15:42:20
create database link gbisd connect to etl identified by Loxxxf using 'gbisd';
SQL> select * from etl.t_part_space@gbisd;
select * from etl.t_part_space@gbisd
*
ERROR at line 1:
ORA-01017: invalid username/password; logon denied
ORA-02063: preceding line from GBISD
tigerqiu(邱翔虎) 15:47:41
SQL> create public database link gbisd connect to etl identified by "Loxxxf " using 'gbisd';
Database link created.
Elapsed: 00:00:00.00
SQL> select 1 from dual@gbisd;
1
----------
1
Elapsed: 00:00:00.10
而通过sqlplus 连接正常
[eva4k1:~]$sqlplus etl/Loxxxf @gbisd
SQL*Plus: Release 10.2.0.3.0 - Production on Tue Apr 27 16:10:23 2010
Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
With the Partitioning, Real Application Clusters, OLAP and Real Application Testing options
SQL>
workagroup:
在建db link时将username,password全部用双引号包括起来
参数资料
Bug : ORA-01017 ORA-02063 WHILE CONNECTING FROM 10G TO 11G VIA PUBLIC DBLINK
Cause
The following Bug 6738104 was logged for this issue which was closed as not a bug saying the cause being introduction of password case sensitivity feature in 11g
When one creates a database link connection, a user name and password for the connection needs to be defined. When the database link is created, the password is case sensitive. Before a user can connect from a pre-release 11g database to a 11g release database and as the password case sensitivity is enabled by default, you must re-create the password for this database link using all uppercase letters.
The reason you need to re-create the password using all uppercase letters is so that it will match how Oracle Database stores database link passwords. Oracle Database always stores this type of password in uppercase letters, even if the password had originally been created using lower or mixed case letters. If case sensitivity is disabled, the user can enter the password using the case the password was created in.
Solution
++ As the password case sensitivity is enabled by default, create the database link to the 11g database as shown below :
SQL> create public database link <link_name> connect to "<user_name>" identified by "<password>" using '<tns_alias>';
发表评论
-
获取oracle数据库中表中记录行数,不使用select count()方式
2014-05-23 15:56 1496逐个表统计数据行数,使用Select count语句统计,比较 ... -
修改Oracle10g的默认8080端口
2013-12-03 01:07 468Oracle10g在安装完成后,默认占用8080端口,而这个 ... -
Oracle的分页查询语句优化
2013-08-07 16:56 754Oracle的分页查询语句基本上可以按照本文给出的格式来进行套 ... -
如何查看LINUX 硬件配置信息
2013-07-04 12:51 375在网上找了N久,发现了一篇不错的文档,转载一下: 1.查看机 ... -
oracle 回收站管理
2013-04-12 17:02 642oracle10g,在pl/sql中选中删除后会出现类似:BI ... -
plsql中的异常
2013-03-21 17:51 1209如果没有异常,在程序中,应当检查每个命令的成功还是失败,使用异 ... -
sqlldr常规应用 (总结篇)
2012-11-27 15:45 1595标例: load data ... -
在oracle中通过connect by prior来实现递归查询
2012-11-05 22:36 1091Start with...Connect By子句递归查询一般 ... -
分页.
2012-05-25 15:59 607select * from (select rownum as ... -
Oracle维护常用SQL语句
2012-05-11 14:34 7141:查看表空间的名称及大小 select t.ta ... -
SQL语句优化技术分析
2012-05-25 16:00 686SQL语句优化技术分析- - 操作符优化 ... -
有关sqlldr的一个具体应用
2012-04-09 15:59 1098今天接到生管给的生产报表,需要删除2000台SEQ状态下 ... -
shell远程获取文件
2012-03-26 14:06 971根据输入的参数(文件名称),逐个获取远程主机制定目录的文 ... -
自动取远程服务器的文件到本地的脚本
2012-03-26 14:06 905自动取远程服务器的文件到本地,中间无需人工参与 a. ... -
如何删除所有目录下与目录同名的文件?
2012-03-26 14:06 1176#!/bin/bash for i in $(f ... -
Linux 脚本编写基础
2012-03-22 11:03 18421. Linux 脚本编写基础1.1 语法基本介绍1.1.1 ... -
shell脚本实现查找目录下同名但不同后缀名的文件
2012-03-22 10:59 2502原创作品,允许转载,转载时请务必以超链接形式标明文章 原 ... -
怎么样判断文件是否存在
2012-03-22 10:58 760[[ -e file ]] && ech ... -
shell获取目录下最新的文件,文件是以日期命名
2012-03-22 10:56 4964shell编程:一个目录下面有很多文件,这些文件都是以日 ... -
PL/SQL教程
2012-03-22 10:55 938课程 一 PL/SQL 基本查 ...
相关推荐
本文首先讲述了Oracle内部表存储原理,在此基础上如何使Oracle设计的表及其字段显示为区分大小写的形式,最后通过具体例子分析了使用默认全部大写和大小写混写的利弊,同时给出来不同情况在Power Desginer(PD)中的...
oralce11g密码设置不过期,可通过sql脚本设置和查看
oracle11g密码180天过期解决方法
解决oracle 11g 密码过期问题 去除 PASSWORD_LIFE_TIME=180天 限制,更改为无限制
oracle11g官方中文帮助 Oracle 11g:ORACLE ACTIVE DATA GUARD.pdf Oracle Database 11g 高可用性.pdf Oracle 数据库 11g 中的分区.pdf Oracle 数据库 11g :真正应用测试与可管理性概述.pdf Oracle 数据库 11g...
Oracle 11g 官方中文文档 包括一下部分文档: Oracle 11g:ORACLE ACTIVE DATA GUARD.pdf Oracle Database 11g 高可用性.pdf Oracle 数据库 11g :真正应用测试与可管理性概述.pdf Oracle 数据库 11g 中的分区....
DevExpress DXperience 使用 Linq 及CriteriaOperator 查找 Oracle 字符字段不区分大小写代码
oracle 11g默认用户名密码.zip
oracle11g驱动包
Oracle密码重新设置,按照文档操作!
oracle11g安装步骤.oracle11g安装步骤.oracle11g安装步骤.oracle11g安装步骤.
oracle 11g p10350787_111070升级补丁oracle 11g p10350787_111070升级补丁
--Oracle11g中Exp空表的问题:禁用插入数据时才分配空间功能 show parameter deferred_segment_creation alter system set deferred_segment_creation=false; -- 查找空表: select 'alter table '||table_name||'...
oracle11g自动建库oracle11g自动建库oracle11g自动建库oracle11g自动建库oracle11g自动建库
Oracle 11g 官方中文文档 包括: Oracle 11g:ORACLE ACTIVE DATA GUARD.pdf Oracle Database 11g 高可用性.pdf Oracle 数据库 11g :真正应用测试与可管理性概述.pdf Oracle 数据库 11g 中的分区.pdf Oracle 数据库...
oracle 11g gateway
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 ...