Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Before executing this script, the Carbon instance should be shut down.

Prerequisites

  • Install Apache Ant on your machine.

  • If you are using MySQL, copy the MySQL JAR to the <apache-stratos-version-SNAPSHOT>/repository/lib/ directory. The latter is required because the script does not communicate with the libraries in the <STRATOS_HOME>/repository/components/lib/ directory.

Required information

To change a user's password, you need to provide the following information:

...

If the database path includes directory names with spaces, the whole URL needs to be included within quotations.

Changing the password on H2 DB

If you are using the H2 database the Linux command to change the password will be as follows:

...

The following message is displayed if the password is updated successfully:

Changing the password on MySQL DB

If you are using a MySQL database the Linux command to change the password will be as follows:

...