伊图教程网[www.etoow.com]
http://www.etoow.com/html/2007-08/1187698921.html
SQL> GRANT create session TO testuser1, testuser2;
Grant succeeded.
SQL> connect testuser1/cat
Connected.
SQL> connect testuser2/h@t
ERROR:
ORA-12154: TNS:could not resolve the connect identifier specified
Warning: You are no longer connected to ORACLE.
SQL> connect testuser2/"h@t"
Connected.
SQL>
The workaround is to enclose the password in quotes, as shown in the listing.
这个问题在Oracle 10g第二版中也存在。同时,值得注意的是testuser1使用密码“cat,”也可以成功登录,即使他的密码是“cat.”在下一个主要发行11g中,Oracle计划用一个更安全的密码算法取代原来的算法,新的算法允许密码中使用真正的大写字母和小写字母。
同时@问题也不会再出现。
同时,可以在PL/SQL中通过创建一个密码复杂性函数阻止用户设置包含@符号的密码,如果新密码包含@符号,就会被拒绝。
如何才能避免Oracle数据库的密码出现@符号
'http://www.etoow.com/html/2007-08/1187698921.html