If the directory/file paths specified in this guide do not exist in your WSO2 product, see Directory Structure of WSO2 Products to locate the paths applicable to your product.

Versions Compared

Key

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

...

  1. Run DB2 console and execute the db2start command in on a CLI to open DB2.
  2. Create the database using the following command:
    create database <DB_NAME>
  3. Before issuing a an SQL statement, establish the connection to the database using the following command:
    connect to <DB_NAME> user <USER_ID> using <PASSWORD>
  4. Grant required permissions for users as follows:

    Code Block
    languageactionscript3
    connect to DB_NAME
    grant <AUTHORITY> on database to user <USER_ID>

    For example:

    Info

    For more information on DB2 commands, see the DB2 Express-C Guide.

...