Export Database With Password Containing Special Characters

Hi,
I'm doing a database export using the command:
exp userid=user/pass@instance parfile=exp_parms.dat
The problem is that the password contains special characters so the command fails with a syntax error. The command works perfectly fine when I run it without the password and just type it in when prompted, but I need to include the password in the command because I am running it in a batch file. I've tried using the escape character (\), but this results in a username-password mismatch.
Is there some way of declaring a password containing special characters in the 'exp' command?
...Thanks in advanced!

Hi,
I'm using linux and this is how I did it.
I created a user named ddg with a password ddg)ddg
I did my expdp command like:
expdp ddg/"ddg\)ddg" directory=dpump_dir dumpfile=ddg.dmp
Put the password in double quotes and escape the funny character with a \
Hope this helps.
Dean

Similar Messages

  • Unable to call report from jsp - password contains special characters

    Hi
    I used the following url to call my oracle report from my JSP webpage but got the error mentioned below. It seems that this error occurs when i use the login id with password that contains special characters only. How can I overcome this problem?
    Any help appreciated. Thx.
    Regards,
    Siti
    URL used: -
    "http://pc-325:8889/reports/rwservlet?server=pc-325&report=prodeff80120i&P_JDBCPDS="+vlogin1+"&destype=cache&desformat=pdf&paramform=no&p_type="+p_type;
    Error encountered: -
    REP-163: Invalid value for keyword DESTYPE.
    Valid options are FILE, PRINTER, MAIL, INTEROFFICE, or CACHE.

    Hi Stefan,
    Many of the customers are located in hungary and they have created the userid using their keyboard. Hence for now I already have a userid with that hungarian characters, in the SAP system.
    Only I would request for the help on how to interface these characters in SAP Business connector to call RFC.
    Thanks,

  • Entering passwords containing special characters in Terminal

    Whenever I enter a shell command that requires me to verify my password (such as becoming root), my password is never accepted as valid because it contains special characters, such as "é" (I'm assuming that's why, at least). I've tried many times and am positive I'm not typing it incorrectly.
    Does anyone know a way around this, or do I have to just create a less exotic password?

    Characters typed with the Option key may not translate properly between different encodings; the exact character expected may be a different one, or may not map to anything at all. You shouldn't use Option-keyed characters in a Mac OS X account password.
    (29024)

  • Create an InitialContext with a password containing special characters?

    Hi there,
    I' trying to run the InitialContextExample with WLS 5.1. It works fine as long
    as I use my userId
    and a password that contains no special characters. If I try to run the example
    with another userId and a password
    that contains any special characters the server returns that I have entered a
    wrong username or password.
    I'm trying to get this done by th following command:
    java examples.jndi.InitialContextExample t3://localhost:7001 max $test$
    My weblogic.properties file looks like this:
    # CORE SECURITY-RELATED PROPERTIES
    # Read important information about security at:
    # http://www.weblogic.com/docs51/admindocs/properties.html
    # REQUIRED: The system password MUST be set in order to start the
    # WebLogic Server. This password is case-sensitive, at least 8 characters.
    # The username for the privileged user is ALWAYS "system".
    # This username and password also includes httpd access (see
    # HTTPD properties below).
    weblogic.password.rme=mypass
    weblogic.password.max=$test$
    Propaby I have to escape this special characters, but how do I have to do this?
    I did not find anything in the examples!
    Thanks for your help.
    Ralf

    Oops. I was in fact entering the wrong password! It does work.

  • Cannot login with password containing non-ascii characters

    Hello,
    I have web application, form based login. UTF-8 is specified "everywhere".
    And it works, except for passwords.
    If user register itself with password containing non-ascii characters, it is correctly written in database, but when doing either programmatic login or normal form based login, if fails.
    If the password is only ascii, it works.
    Username of login could be ascii or non-ascii, it doesn't matter, both works.
    I'm using sun java application server 9.1.
    jdbc realm.
    I'm not using hashing passwords, just clean (now)
    I tried configure realm Charset: UTF8 as last chance, but it doesn't work either.
    The problem is only with non-ascii characters in password.
    Any help very appreciated
    Thanks a lot

    hi,
    I know all that, but that's not the case. My app uses preparedStatements, everything is properly configured, in all pages, utf-8 is going from user to db and back without any problems.
    The only problem is with password field. As I am using form based login, with jdbc realm configured (again, nicely working when only ascii characters), I have very little chance to do something bad through the login phase.
    I'm not talking about special characters, I'm talking about non-ascii characters, let's say - Chinese, arabish, Russian alphabet etc.
    When user registers (my code), the fields are properly written to db. I have checked that, trust me.
    But the Sun app server realm seems to have some problems with the password field.
    (realm uses jdbc connection to mysql, the url contains all extra parameters to be sure about utf8. there is nothing more what can be configured...)
    If I try other alphabet codes in login and ascii in password, it works. But soon, as I use other alphabet code also in password, it doesn't work anymore.
    My only idea is, that I could try MD5 to create ascii only characters (I hope it works that way) on the client with javascript and then set Digest to MD5 in realm configuration. But still, it seems very strange. The clear way storage should also function? (now set Digest to 'none')
    Is it a bug of Sun App Server?
    thanks

  • Why does text on certain portions of websites, usually when adjacent text contains special characters, become jumbled into seemingly random sets of characters that are not in any way jumbled when viewing the source of the webpage? How can I fix this?

    When viewing most text on most websites, it displays properly. However, there are two instances where text will either tend to, or consistently, become jumbled into a mess of seemingly random characters. Oddly enough, these seemingly random characters are not, in fact, random. The same weird character will be used to replace the same regular English text character consistently across the entire area that has been jumbled.
    The two instances where this tends to occur most often, or consistently in some cases, are, first, when a paragraph or particular section of formatted text contains special characters, such as Chinese or Japanese characters, or accented letters. When this happens, usually the paragraph that contains the special characters is completely jumbled, while the rest of the text on the page will have intermittent jumbling on a word or two. Most often, the word "the" is jumbled in this case.
    The second instance where this happens is when a website uses specially formatted text in some form or another. I, not being an expert at web development, am not sure what kind of formatting causes it, but I can provide consistent examples in lieu of my experience:
    - Example 1:
    [http://img408.imageshack.us/img408/9564/firefoxcharencodingissu.jpg]
    Example 1 shows a portion of a screen-shot of the website "Joystiq.com". Every single article title on the front page of this blog is consistently jumbled, while the text of the article itself remains untouched. Please note that when this jumbled text is highlighted, it is visible un-jumbled in the right-click menu as well as in the source code of the page. Other consistent instances can be found within many search fields on various websites. For instance, the search bar located at the top right of "Kotaku.com" consistently displays jumbled characters both on its default text of "Search" and on any text that is typed into the search box itself.
    - Example 2:
    [http://img822.imageshack.us/img822/9564/firefoxcharencodingissu.jpg]
    Example 2 shows both the jumbling of the paragraph containing the character "☆" as well as the subsequent peppering of the rest of the article's text with small jumbled words. Below this is the DOM Source of the selected text which shows how the text itself is being rendered properly within the site's source. Additionally, for convenience, I have edited on to the bottom of the image a small snippet of what the search bar on the same page looks like. Notice how the grayed-out text that normally would read "Search" is instead jumbled.
    This issue has been plaguing my browser for the past year or so, and I had hoped that it would go away with subsequent Firefox updates. It has not gone away.
    Thank you for reading! Please help!

    This issue can be caused by an old bitmap version of the Helvetica or Geneva font or (bitmap) fonts that Firefox can't display in that size.
    Firefox can't display some old bitmap fonts in a larger size and displays gibberish instead.
    You can test that by zooming out (View > Zoom > Zoom Out, Ctrl -) to make the text smaller.
    Uninstall (remove) all variants of that not working font to make Firefox use another font or see if you can find a True type version that doesn't show the problem.
    There have also been fonts with a Chinese name reported that identify themselves as Helvetica, so check that as well.
    Use this test to see if the Helvetica font is causing it (Copy & Paste the code in the location bar and press Enter):
    <pre><nowiki>data:text/html,
    Helvetica<br><font face="Helvetica" size="25">abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ</font><br>
    Helvetica Neue<br><font face="Helvetica Neue" size="25">abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ</font>
    </nowiki></pre>
    You should reset the network.http prefs that show user set on the about:config page.<br />
    Not all websites support http pipelining and if they do not then you can have issues with images or other problems.
    See also http://kb.mozillazine.org/Images_or_animations_do_not_load#First_steps

  • Column name in a query contains special characters

    Hi folks,
    The column name in a query contains special characters. For example ~ or ^. The creator of the table put these column names under double quotation while creating the table. When I get the column names form the result set meta data object it returns without quotation. Is there any way to tell the jdbc driver so that it return those column names as it was created, I mean in double quotation.
    The help is urgent. I will appreciate any suggestions. Thanks �.
    [using oracle driver for 10g]
    Thanks
    Angelina

    Just because the column names were in quotations when the database was created doesn't mean that the quotes are actually part of the names. What's inside the quotes is what makes the column name in the database. If I created a column as "abcd" and put it in quotes just like that ("abcd"), it would go in the database as abcd since SQL would strip off the quotes.
    And there's your answer. Just put all column names in quotes whenever you need to talk to SQL. It will strip off the quotes and understand.
    I think SQL will also accept square brackets ([ and ]).

  • How to validate string that contains special characters.

    Hi,
    I am new to Data Services.I took excel sheet as a data source .Now i have do some validation functions like vendorgroup should not contain special characters ,name cleansing operations etc.. So,please anyone help me redarding this.
    Thanks in advance

    Anonymous,
    No this is not a bug. Working with multi-select lists or any item which stores colon delimited values can be tricky to work with in APEX. There are a few work arounds for this. One is to replace the colons with something else like you described and then replace the colons on the landing page. Another solution is to send the primary key for that record and have an automatic row fetch or a computation pull the colon delimited value.
    Cheers,
    Tyson Jouglet

  • How to replace string containing special characters by another string

    Hi all,
    I have to Search for a pattern and replace it by a substitute pattern [Eg: Replace methodOrig (a,b) with  SessTime = getSessionParameter(time);  methodNew(a,b,SessTime) ] in files.
    i tried this using replace(),but it din't work since string1 contains special characters.
    can anyone help me asap.
    thanks in advance.

    Double-post: http://forum.java.sun.com/thread.jspa?threadID=599211&tstart=0

  • The email account name contains special characters

    im trying to create a apple id without payment method for my cousin. his email does not contains any special character and it's a valid email...my problem is that "the email account name contains special characters" message is always showing..any help please. thanks

    Goto the Email set up, it will show you the Current Email accounts you have set up, there will be an option to "Edit" You can change the Display Name (what other's see in the From line) and Account Name, what shows up when you mouse over your email icon on your Blackberry.
    Brownie
    Tour 9630
    IT Professional

  • I am with error of special characters in the hour to matter given in BI 7

    Good afternoon, I am with error of special characters in the hour to matter given in BI 7
    <a href="http://img234.imageshack.us/my.php?image=erroau3.jpg" target="_blank"><img src="http://img234.imageshack.us/img234/4083/erroau3.th.jpg" border="0" alt="Free Image Hosting at www.ImageShack.us" /></a>

    OK....!!!!!
    just download the Excel file (*.xls) and try open with Word-MS. In the document search by the string that you have mentioned in the question. (Use Ctrl +F).
    If you see something like "ABC bla bla ba & instead of  &amp ,  then you have to pass the data through the code I've mentioned.
    You can get more details on encoding special characters UTF-8 in Google.com or Sun Websites etc.
    You can also encode the & in hexadecimal format to get the desired output.

  • Insertion Data Containing Special Characters

    Hi,
    I exported my table data to an ascii file using TOAD, which created
    the insert statements for me. I intend to insert these data to another database.
    The problem is that the data contains some characters like single quote
    and ampersand which would give problem during insertion.
    Is there a way to go around this as I don't want to waste my time
    changing the characters to ASCII manually.
    Thanks in advance.

    Hi,
    May be its because I am using the free version of TOAD,
    "single quote" is still single quote after I export the data.
    How do people normally solve this? The only way I know is
    to select the data manually and at the same time replacing
    single quote with 2 single quotes instead - (this would be spooled)
    And this is not the only issue. Some field which has
    more than 1 linefeed/carriage return might not be inserted properly also.
    Sample as below:
    insert into table test values
    ('Testing ...
    Insert Data');
    I inserted those data through application programs and intended
    to export out the raw data and import into another database.
    I am not ready to use the imp/exp utility as I don't want to
    drop any tables.
    Thanks in advance.

  • DadTool.pl obfuscation doesn't work with passwords containing a "$" sign !?

    Hi,
    we are using the OHS and mod_plsql which is bundled with the Oracle 9i Companion CD. When we try to obfuscate a password containing a $-sign (p.e. test1$test2) with dadTool.pl, the dads.conf is updated with an encrypted password and the dadTool.pl tells us that everything is ok and that it has encrypted one new password ...
    As long as we started the OHS with the plain text password, everything works fine. But when we start it with the obfuscated password and request our URL (p.e. http://myserver/pls/test), we get an error message that the username/passwort is incorrect.
    We tried everything and it looks like a bug in the dadTool.pl Perl script?!
    Does anyone know this behavior? And are there any workarounds?
    Best Regards,
    Matthias

    Sounds like your workaround is going to have to be removing the "$" from your password. Perl, like PHP and other popular languages, uses the "$" character to denote when a variable starts. Oracle must not be doing anything to cleanse the inputs to their perl scripts, assuming that their users are expert Perl scripters who already have a deep understanding of how Oracle relies on Perl scripts for helper utilities.
    Don't get me started on what Oracle frequently assumes, or the quality of their scripting. Suffice to say that I see dark times eventually in Oracle's future as their competition catches up in features (and has already left them far behind in usability), and I'm not going to buy Oracle stock.
    The point:
    Oracle's perlscript sees "test1$test2" and assumes this means "test1" and append the contents of $test2, which resolves to "test1" as $test2 is undefined (read: empty).
    Don't use "$". Or special characters (many of these have special meaning in Perl, the "write-once-read-never" language).

  • Expdp with schemas containing special charecters

    Hi!
    Need to export a schema which name contains the character "-".
    When using expdp with parameter schemas="Test1-test2" this error comes:
    ORA-39039: Schema expression "IN ('Test1')" contains no valid schemas.
    How do I escape the "-".
    Thanks,
    Kenn

    I have created the function below to replace the special characters before usig XMLElement. Try if it workes for you. Good luck
    FUNCTION NameofFunction(cNUMBER_STRING VARCHAR2) RETURN VARCHAR2
    AS
    BEGIN
    RETURN(
    REPLACE(
    REPLACE(
    --REPLACE(
    TRANSLATE(cNUMBER_STRING,
    'oAAAAAAECEEEEIIIIDNOOOOOxOUUUUYpbaaaaaaaceeeeiiiionooooouuuuypy'
    --' & ','&'||'amp;'),
    CHR(26),''),
    CHR(27),'')
    END NameofFunction;
    Regards,
    Rajesh Kanakagiri
    Edited by: user2899093 on Jan 20, 2010 1:16 PM

  • Quering database with word containing apostrophe

    hi all,
    hopefully someone can help me with this, i am trying to query an sql database with a word containing an apostrophe from within my .jsp file. How do i go about replacing the " ' " with " '' " for all query's made?
    any help would be great,
    thanks,
    KJ
    **

    There's quite a few threads on this issue...go to the Forums home page, search the JDBC forum on "escape characters" and read the results. Here's a sample:
    http://forum.java.sun.com/thread.jsp?forum=48&thread=147408

Maybe you are looking for

  • Iphone 5s, Can't easily send sms. already updated in ios 7.1, What could be the possible reason and solution?

    I got my iphone 5s last 2 months, and it's ios is 7.0.6, after a month i can't easily send SMS, i have several apps and games. I tried to update my ios but still the problem persist. What could be the possible reason and what are the solutions? Pleas

  • Time Machine, External Hard Drive question

    Hello, I am formatting my OWC External at the moment and it asks me if I want to back up all my data with time machine on my external hard drive, do I need to do this? I plan on only using this external for recording my music directly to the external

  • Dual 23" displays showing distint difference in color and brightness

    Today I purchased a second 23" cinema display to run a dual display set up. I am now noticing that my first display, purchased about a year ago refurbished from apple, is distinctly darker and has a slightly yellowish tint to it in comparison to the

  • Cancellation of accounting document type "RV"

    Dear Folks We have created invoices and accounting documents created by them have wrong business area. Now we have set business area substitution and checked in development server it is correct. For the already created invoices, we want to cancel onl

  • Documentat​ion of Labview Vis

    When distributing application programs created in Labview we have to provide a complete documentation package. We used to print most of the Vis on paper which is very time consuming and pretty hard to maintain in case of a software upgrade. I am look