In this section:
DTP uses a database called "DTP" to store data and retrieve data. You can create the database structure from the UI when you log into DTP for the first time.
You also can run the database creation script located in the DTP_HOME/bin/ directory to quickly set up the databases. Run the script after the initial DTP installation but before the services are started. See Stopping DTP Services for instructions on how to stop services if they are already running.
Check the dtpconsole-db.log log for the following error (the log may include additional messages):
The error message will specify your timezone. If you see this error after a database creation script failure, set the |
The database creation script packaged in the Windows installer will only create new database schemas and schema objects. Administrative privileges is required to execute this script.
Option 5 - Database
configuration when the console opens.When the database creation scripts have run successfully, you can set the authentication settings for connecting to the database through the web UI. After logging in and the license code is accepted, Parasoft checks the database structure and redirects you to the Database Settings page if applicable. If you have not met the JDBC driver requirement (see JDBC Drivers), you will receive a message prompting you to download the driver.
The default password for connecting to the database is The See the MySQL documentation for additional information: https://dev.mysql.com/doc/refman/8.0/en/validate-password-options-variables.html |
When the JDBC driver is installed, you can configure your database connections or create new databases. There are three options available:
If you are connecting to an Oracle database on Amazon RDS, you will need to create the database structure first. See Creating DTP database structure at Amazon RDS for Oracle. When the database structure has been created, proceed to Create a DTP schema for an existing database below. |
To connect to an existing DTP database using existing user credentials:
Enter the database URL and user credentials, then click Test Connection to confirm that it is correct.
To create a new DTP database and schema as well as new user credentials:
Enter new user and credentials and click Create Database.
The processes will fail if the Parasoft default "dtp" user already exists. In this rare scenario, you can manually create the database and users, then go through the Create a DTP schema for an existing database described below. Alternatively, you can drop the "dtp" user before running this process. |
To create a DTP schema for an existing database with existing user credentials:
Starting with DTP 2022.2, DTP no longer ships with an embedded database. The feature described below is deprecated. For information about migrating an embedded database to an external database, see Migrating an Embedded Database to an External Database.
If you installed the DTP distribution with an embedded database, you can switch to an external database at your convenience. Be aware that once DTP has been configured to use an external database, it cannot be configured to use an embedded database again (though it can be configured to use a different external database). Make sure that your database meets the requirements described in Database Requirements.
Follow the instructions for preparing and configuring the external database as described in Connecting to the Database.