The oracle11g password is case-sensitive by default, and the attribute is Sec_case_sensitive_logon controlled by the initialization parameter, which by default true indicates case sensitivity. However, prior versions of oracle11g are case-insensitive, so you may encounter the following issues when you create a database link in a previous version of oracle10g, such as oracle11g: 10g> CREATE DATABASE link oracle11g 2 Connect to Ning identified by Ning 3 using ' 11g ';
Database Link created. 10g> SELECT * from [email protected]; SELECT * from [email protected] * ERROR at line 1: Ora-01017:invalid Username/password; Logon denied Ora-02063:preceding Line from oracle11g
The password must be correct.
10g> conn Ning/[email protected]; Connected. 11g>
This problem occurs when you create the database link in 10g, the password is used in all uppercase, but the user's password in 11g is actually lowercase. In previous versions, there was no problem because it was case-insensitive. When the 11g problem comes up, the password is not ^_^ Solutions 1. Create database link is the user name and password are enclosed in double quotation marks, so that the password is installed input characters used, not converted to uppercase
10g> CREATE DATABASE link oracle11g2 2 Connect to ' ning ' identified by "Ning" 3 using ' 11g '; Database Link created. 10g> SELECT * from [email protected]; BANNER ——————————————————————————– Oracle Database 11g Enterprise Edition Release 11.1.0.6.0–production PL/SQL Release 11.1.0.6.0–production CORE 11.1.0.6.0 Production TNS for Linux:version 11.1.0.6.0–production Nlsrtl Version 11.1.0.6.0–production
2. Disable oracle11g to differentiate between password case characteristics, but not recommended
11g>alter system set Sec_case_sensitive_logon=false; System Altered 10g> SELECT * from [email protected]; BANNER ——————————————————————————– Oracle Database 11g Enterprise Edition Release 11.1.0.6.0–production PL/SQL Release 11.1.0.6.0–production CORE 11.1.0.6.0 Production TNS for Linux:version 11.1.0.6.0–production Nlsrtl Version 11.1.0.6.0–production |