Skip to Main Content

Japanese

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

パスワードに含まれる@のエスケープ方法

904909Dec 12 2011 — edited Dec 14 2011
パスワードに@を含むユーザで、expやsqlplusを使うとエラーになります。

ユーザscottのパスワードを"tig@r"に変更した場合、以下の様なエラーが発生し、ログインできなくなります。
sqlplus scoot/tig@r@orcl(あるいは sqlplus scoot/tig@r) と入力した場合、
「ORA-12154: TNS: 指定された接続識別子を解決できませんでした」と表示されます。

sqlplus scoot/tig\@r@orcl と入力した場合、@はエスケープされますが、
「ORA-01017: invalid username/password; logon denied」となります。
パスワードに含まれる@をエスケープする方法をご存じの方、よろしく御教授願います。

付記:
サードパーティ製のスケジューラを使用してexpをバッチ起動することが目的ですが、上記の問題により自動実行できない状態です。
(パスワードの変更は社内手続き上、かなり困難です。)

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Jan 11 2012
Added on Dec 12 2011
2 comments
29,839 views