+

Search Tips   |   Advanced Search

Windows stand-alone: Create a local DB2 database automatically


This section provides information on using ConfigEngine tasks to create databases when using a local DB2 installation. If we are using a remote DB2 installation, we cannot create databases using ConfigEngine. Create the databases manually.

Before beginning, ensure that the following prerequisites are met:

To create a database, you must be a DB2 System Administrator with sufficient database privileges (SYSADM or at a minimum SYSCTRL).

  1. Log in as a DB2 instance system authority.

    For example, we can log in as db2inst1 as the DB2 instance owner.

  2. Create the databases:

      cd WP_PROFILE/ConfigEngine
      ./ConfigEngine.sh create-database -DWasPassword=foo


Parent: Windows stand-alone: Create DB2 databases