ANT target: CreateDatabase
CreateDatabase creates a database on a local or remote server for use by the WebSphere Commerce instance.The CreateDatabase target creates:
(DB2) A database on a local or remote database server
I5/OS: A Commerce instance user profile and the Commerce schema library
(Oracle) creates a tablespace and a user with the following privileges in the tablespace:
- 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 on generating the properties file, see ANT targets.
Required parameters:
- instance
- The name of the WebSphere Commerce instance with which you are working (for example, demo).
AIX|Linux|Solaris|Windows:
dbaPassword
- The database administrator's password.
- dbUserPassword
- The WebSphere Commerce database user's password.
Example
AIX|Linux|Solaris|WC_installdir/bin/config_ant.sh -DinstanceName=instance -DdbaPassword=dbaPassword -DdbUserPassword=dbUserPassword CreateDatabase
I5/OS: WC_installdir/bin/config_ant.sh -DinstanceName=instance -DdbUserPassword=dbUserPassword CreateDatabase
Windows:
WC_installdir/bin/config_ant.bat -DinstanceName=instance -DdbaPassword=dbaPassword -DdbUserPassword=dbUserPassword CreateDatabase
Related Concepts