Skip to Main Content

Oracle Database Discussions

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!

Can not export DB by using shellscript contain specal charater

676478Mar 11 2010 — edited Mar 11 2010
Hi all

I have a database user as:
username: NAME#S01
password: PASS#S01

I try to write shellscript to export DB:
#!/bin/bash
exp NAME#S01/PASS#S01 file=/home/backup/filename.dmp full=no

The following error occured:
Copyright (c) 1982, 2007, Oracle. All rights reserved.
EXP-00004: invalid username or password.
If I export without using shellscript, It is OK.

Note: Username/password must be contain specal charater, I can't be changed.

Any body help me please.
Thanks alot

Thiensu2810
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 8 2010
Added on Mar 11 2010
3 comments
390 views