In this section:
Preparing the Database Table Structure
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.After the database creation scripts have run successfully, you can set the authentication settings for connecting to the database through the web UI.
When the JDBC driver is installed, you can configure your database connections or create new databases.
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 |
Click Create New and enter your MySQL or Oracle credentials and host settings.
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 step 4b below. |
If you have already created a database, created a default user, and granted the user privileges, you can click Create DB Structure in the Advanced section to execute database configuration processes specific to DTP.
The processes executed by click Create and Create DB will fail if the Parasoft default "dtp" user already exists. In this rare scenario, you can manually create the database and users and click Create DB Structure. Alternatively, you can drop the "dtp" user before clicking Create or Create DB. |
If you installed the DTP distribution with an embedded database, you can connect to either the embedded database or to an external database.