Password Oracle symbol # does not not in shell script

I have the shell script that exports the database schema. My Userid password export subscription contains #. Shell script is throwing error. If we have the password without this character, then it works fine. How do we use the password in shell script to perform this task?

$ORACLE_HOME/bin/expdp system/test #test = userid parfile test.par dumpfile = test.dmp =

I tried to use double-quotes and apostrophes for this password... but it still does not. any help is appreciated.

Please post the contents of test.par.

You can try to run before running EXPDP:

drop table SYSTEM.EXP_DEVDB06;

Edited by: P. Forstmann on 27 Jan. 2010 17:46

Edited by: P. Forstmann on 27 Jan. 2010 17:47

Tags: Database

Similar Questions

  • Sync symbol does not appear in the tab header

    In the version of Android, Firefox, I configured my e-mail address of synchronization, but the sync symbol does not appear where it should (except the symbol of private browsing). The desktop version of Firefox is properly set up with my account, so I have no idea what I can do now to make it work? Thank you.

    Hi snoreau, the tabs sync on android have moved into their own group of experts on the home screen (also known as awesomescreen).

  • COMBOX less symbol does not...

    COMBOX less symbol does not (does not).

    I've added the photo.

    The sign less translates into a separator. For example, you can use less space (' '-') for a sign less.

  • I have connected, but when I need to update apps, again request the password, but it does not work?

    I have connected, but when I need to update apps, again request the password, but it does not work?

    Birgitte salvation,

    Have you tried to enter your system password.

    Please let know if it still does not.

    Concerning

    Megha Rawat

  • I was sent a new password, but it does not accept the window. What is happening with this?

    I was sent a new password, but it does not accept the Flash Player window. Is it possible to overcome this problem so I can install it on my iMac? @

    Hi 1937woody,

    It is the OS (Apple) not Flash Player to ask for the password.  Please see what userid & password I need to install Flash Player?

    --

    Maria

  • How to duplicate a document with Acrobat DC on Android?  Symbol does not work.

    How to duplicate a document with Acrobat DC on Android?  Symbol does not work.

    This feature is accessible not leave within the Adobe Acrobat DC application. We actively strive to bring the same thing. In the meantime, you can try to do the same thing by using a third-party file manager application to work around the problem.

    Thank you.

  • The Acrobat update keeps asking me a password, but it does not accept my ID my password Adobe or Apple. What password of people do you want?

    The Acrobat update keeps asking me a password, but it does not accept my ID my password Adobe or Apple. What password of people do you want?

    Hi Giuliano,

    Please use your Mac username and password and check.

    Kind regards

    Anand

  • When I try to update creative cloud, I get a popup to connect, I get my Adobe password, but it does not work. I have reset my password and I tried again, but it still does not work.

    When I try to update creative cloud, I get a popup to connect, I get my Adobe password, but it does not work. I have reset my password and I tried again, but it still does not work.

    The password screen shake when you enter the password?
    If so, it asks your Mac password.

    Don't worry about file opm, Adobe recreates him when you try to connect.

  • Call the batch file and not the shell script using measures of the event

    Can I use EVENTACTIONS at the door of gold like

    eventactions (SHELL, /path-to-batch-file/test1.bat)

    will this work? I am on a windows machine, so I need to run a batch file and not a shell script

    In GGSCI, you can shell OUT to the BONE and call a command/executable file.

    For example on Windows:

    GGSCI (WIN2003) 2 > shell dir

    Volume in drive C has no label.

    Volume serial number is 8CCC-9E58

    Directory of C:\ggs

    18/08/2012 07:23

    .

    18/08/2012 07:23

    ...

    2010-10-15 06:37 bcpfmt.tpl 426

    2010-10-15 06:37 bcrypt.txt 1 725

    22/04/2011 03:41 2 560 category.dll

    05/11/2011 10:43

    cfg

    2010-10-15 07:15 739 chkpt_ora_create.sql

    ...

    What were the results when you tried this in an EVENTACTIONS clause?

  • Migration from MySQL to Oracle SQL does not

    Hello everyone,

    I am new to Oracle SQL, but since our MySQL database is more and get more slowly, I would like to test the performance of Oracle SQL.

    So, I downloaded the current Oracle Linux distro and installed Oracle Database 11 g Express Edition.

    I connected with Oracle SQL Developer and started to migrate the MySQL database by following each step of this tutorial.

    I had to abandon all the privileges of the user migration (otherwise the creation and the deleteion of the migration repository did not) and I have disabled the migration of constraints to make migration work.

    Then I proceeded through all of the steps of the tutorial and ended with a "successful migration.

    The last step of the tutorial, it was to connect to the db migrated (using a combination of username/password generated name), it was not possible.

    What do I already checked?

    • Logged on as user system, I see that there is no new user created for the migrated db
    • Looking at the overview in the migration repository I see 3 phases, not knowing if the third displays an error or if it is not necessary at all (I got 58 tables in the db of the source)
      • Capture of 58/58
      • Convert 58/58
      • Compile 0/58

    From here, I don't know where to look for additional errors.

    I still can't use the migrated db and so I can't go forward with my tests.

    I missed something?

    I would appreciate your help.

    Astaldo

    Astaldo salvation,

    First, you must use SQL Developer 4.0.2 If you aren't already. It is available for free on OTN

    http://www.Oracle.com/technetwork/developer-tools/SQL-Developer/downloads/index-098778.html

    There are two ways to convert tables from MySQL to Oracle.

    1) copy to Oracle

    (2) migration to Oracle.

    Copy to Oracle is the simplest method. It does not imply the creation of a repository of migration.  But it only migrates data without constraints or default values or indexes and tables. The set of data to move should be reasonably low as it is moved on JDBC.

    It may suit your purpose to try to Oracle.

    http://dermotoneill.blogspot.co.UK/2010/11/copy-to-Oracle.html

    Migrate Oracle requires the implementation of a migration repository. But he migrate the default settings, constraints, and indexes and can also provide scripts offline data move that can manage the circulation of large data sets.

    Here is a small script to create a new MIGRATIONREPO user, and grant the correct privileges.

    CREATE USER MIGRATIONREPO IDENTIFIED BY oracle.

    ALTER USER MIGRATIONREPO QUOTA UNLIMITED ON USERS;

    GRANT CONNECT, RESOURCE, CREATE VIEW, CREATE MATERIALIZED VIEW to MIGRATIONREPO;

    Then using SQL Developer, create a connection to MIGRATIONREPO, right-click on the connection and choose "associate the Migration repository.

    I hope you have success best creation of migration with the privileges of theses repository.

    Migration Wizard step 8: target database

    Choose Offline Mode.

    This will present you with a build script that you can inspect before the race.

    The build script must be run using the SQL Developer worksheet and choose free user sufficiently privileged in Oracle generally SYSTEM.

    Note that if you would rather work with the repository you must currently you can browse your browser of Migration.

    Access converted database objects, right-click and select "generate the target".

    This will again open the Migration Wizard in step 8. Allowing you to choose Offline Mode so that you can review the build script.

    Hope this helps,

    Kind regards

    Dermot.

    SQL development team.

  • Connect to the Oracle database - does not connect

    I am new to JAVA and for the first time that I am trying to connect to an Oracle using JAVA data. Well, I get an error when you try to connect to the database. I can see that the error doesn't that make strings passed to make the databases of connection are NULL. Thus, an error (see error below).

    Question
    How is the 'connection' varriable is NULL?
    It seems that the hold 'try' session was not executed. This session is broken?

    ERROR

    The database connection is not found: null
    Database connection before call: null
    Exception in thread "main" java.lang.NullPointerException
    at TestOCIApp.main (TestOCIApp.java:39)


    = JAVA START program =.

    import java.sql. *;
    import java.sql.Connection;
    to import java.sql.DriverManager;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import java.sql.Statement;

    public class TestOCIApp {}

    Public Shared Sub main (string args []) throws ClassNotFoundException,
    SQLException {}

    Fitting out = null;
    try {}
    Load the JDBC driver
    String driverName = "oracle.jdbc.driver.OracleDriver";
    Class.forName (driverName);

    Create a connection to the CCM PROD database
    String serverName = "192.168.2.144";
    String portNumber = "1521;
    String sid = "op01ccdb01";
    String url = "JDBC: thin: @" + serverName + ":" + portNumber + ":" + sid;
    String username = 'user id ';
    String password = "password";
    connection = DriverManager.getConnection (url, username, password);
    System.out.println ("connection value:" + connection);

    } catch (ClassNotFoundException e) {}
    The database driver is not found
    System.out.println ("could not find the connection to database:" + connection);
    } catch (SQLException e) {}
    Could not connect to the database
    System.out.println ("could not connect to the database connection:" + connection);
    }

    System.out.println ("connection to the base before the call:" + connection);
    Statement stmt = connection.createStatement ();
    ResultSet rset = stmt.executeQuery ("select" driver Tester Hello OIC ' |) THE USER: '! ("' result from double ');
    While (rset.next ())
    System.out.println (RSet.GetString (1));
    RSet.Close ();
    stmt. Close();
    Connection.Close;
    }
    }


    = END of JAVA program =.

    The try section runs very well but only partially because you get the exception "ClassNotFoundException", which means that it is impossible to load the Oracle driver class (so it does not reach the line where it says):

    Class.forName(driverName);
    

    You intercept this exception and then simply print a line "could not find the database connection: null". Then you let the code continue, obviously without you still initialize your variables.

    I would recommend rewriting those catch blocks throw new RuntimeException so that the code will not continue any further when an error is detected in the try or don't catch not all of them if you donot want to manage them appropriately.

    As for your problem, you probably have not added the ojdbc14.jar is to your project, and this is why it cannot find the class OracleDriver.

    Finally, try adding {noformat}

    {noformat} around your code when you post code.  It makes it a lot more readable.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
    
  • Suddenly Mail asks for a password, but it does not accept

    I didn't mail in three days on my desktop computer.  It keeps asking for my password for aol, but will not accept it.  My password has not changed, but it does not accept it.  On all my other devices, the mail comes, and the password is accepted.

    Anyone?

    As is the case with many email providers, AOL may have made some changes at their end. The usual troubleshooting step is to delete this email account > then add it back back

    Let us know - best chance

  • My mother has forgotten her password. Reset does not work and the e-mail for it no longer works.

    My mothers account is * address email is removed from the privacy *. She cannto remember his password. A standard to reset request does not work as the old email not available more

    Hi MorganSilver,

    Thank you for visiting the Microsoft answers community.

    The question you have posted is bound using Windows Live and would be better suited in the Center of Windows Live Help solutions. Please visit this link to find a community that will support what ask you

  • I have an old laptop Armada M700! I've implemented a power on password and it does not work! Is there a way to reset the password? Even the laptop will not power

    laptop worked very well slow, but very well so I tried a bit of security, so I put the power on password good this morning when I try to activate the password does not work!

    Hello

    I suggest you to contact the manufacturer of the computer for help on this issue.

  • Reset the link password Hotmail account does not work.

    Original title: reset password link does not work!

    Hello

    My hotmail account has been blocked, I asked for a link reset password to my e-mail from work, password reset link, I received doesn't work, it sends me to a page that says "there is a temporary problem with the service please try new more later" I tried for a week now and I continue to be sent to the same temporary problem page! I also requested a reset password to be sent to me several times just incase it was a problem with the link, but continues to be the same thing. How can I reset my password and get into my account?

    Hi Rachel,

    Since you are facing problems with the Hotmail account, you can publish your application in the Windows Live forum to get help:

    Windows Live: Hotmail Support

    http://windowslivehelp.com/searchresults.aspx?query=reset%20password%20For%20hotmail%20account&ProductID=1

    Hope this information is useful.

Maybe you are looking for