Accessing the development database directly

You can access the development database while the test server is running or idle.

The ij.bat utility can also be used to run SQL scripts. To run an SQL script named script against your development database:

  1. Shut down your WebSphere Commerce Test Server.

  2. Start a command prompt session.

  3. Navigate to the WCDE_installdir\bin directory.

  4. Ensure that your script begins with the following statement
    connect '..\db\mall';
    

  5. Issue the following command:

    ij.bat script

Only one process at a time can connect to the Cloudscape database. Therefore, ensure that the WebSphere Commerce Test Server is stopped before beginning an ij.bat session and, conversely, that the ij.bat session is ended before starting the WebSphere Commerce Test Server.

Related concepts

WebSphere Commerce development database
WebSphere Commerce development environment

Related tasks

Resetting the Cloudscape database to contain only bootstrap data
Switching between development database types