Ant target: CreateDatabase
CreateDatabase creates a database on a local or remote server for use by the WebSphere Commerce instance.
Important: This
Ant target is to be used only
as a part of WebSphere Commerce instance creation.
The CreateDatabase target creates:
- A database on a local or remote database server
- A Commerce instance user profile and the Commerce schema library
- A table space and a user
with the following
privileges in the table space:
- Create procedure
- Create sequence
- Create session
- Create synonym
- Create table
- Create trigger
- Create view
- Create materialized view
Called by
Prerequisites
The createInstance.properties file must exist for this Ant target to work. For information about generating the properties file, see Ant targets.
Required parameters
- instance_name
- The name of the WebSphere Commerce instance with which you are working (for example, demo).
- dbaPassword
- The database administrator's password.
- dbUserPassword
- The WebSphere Commerce database user's password.
Example
- WC_installdir/bin/config_ant.sh -DinstanceName=instance_name -DdbaPassword=dbaPassword -DdbUserPassword=dbUserPassword CreateDatabase
- WC_installdir/bin/config_ant.sh -DinstanceName=instance_name -DdbUserPassword=dbUserPassword CreateDatabase
- WC_installdir/bin/config_ant.bat -DinstanceName=instance_name -DdbaPassword=dbaPassword -DdbUserPassword=dbUserPassword CreateDatabase