You can change database connection settings through the Web UI or by editing the PSTRootConfig.xml file located in the DTP_HOME\conf\directory. You can also work with databases on a different host and port.

  1. Choose Report Center Settings from the settings menu.
     
  2. Choose Report Center Administration from the Additional Settings drop-down menu. 
     
  3. Choose Settings> Database.
     
  4. Modify database settings as needed and click Check to verify the data accuracy.
  5. Click Save when finished.


To change the database connection by editing the configuration file:

  1. Shut down all Development Testing Platform services and open the PSTRootConfig.xml configuration file located in the DTP_HOME\conf\ directory.
  2. The following elements contain the database configuration settings:
     

    GRS Database
    <db-type>MySQL</db-type>
    <user>grs</user>
    <password encrypted="true">abc123</password>
    <!--
    sample Oracle connection url: <url>jdbc:oracle:thin:@HOST:PORT:SID</url>
    --->
    <!--
    sample MySQL connection url: <url>jdbc:mysql://HOST:PORT/DATABASE</url>
    --->
    <url>jdbc:mysql://localhost:3306/GRS</url>

     

     

    DTP Database
    <db-type>MySQL</db-type>
    <user>dtp</user>
    <password encrypted="true">abc123</password>
    <!--
    sample Oracle connection url: <url>jdbc:oracle:thin:@HOST:PORT:SID</url>
    --->
    <!--
    sample MySQL connection url: <url>jdbc:mysql://HOST:PORT/DATABASE</url>
    --->
    <url>jdbc:mysql://localhost:3306/GRS</url>

     

     

    Sample Configuration Provided

    Sample Oracle and MySQL URLs are provided (and commented out) for your convenience.

  3. Redefine the database connections for both Development Testing Platform and Data Collector. In the following example, the Oracle database configuration is shown:
     

    <db-type>Oracle</db-type>
    <user>grs</user>
    <password encrypted-"true">abc123</password>
    <!--
    sample Oracle connection url: <url>jdbc:oracle:thin:@HOST:PORT:SID</url>
    --->
    <!--
    sample MySQL connection url: <url>jdbc:mysql://HOST:PORT/DATABASE</url>
    --->
    <url>jdbc:oracle:thin:@arcadia.company.com:1521:sidl</url>
  4. Save the modified file.
  5. Restart Development Testing Platform and Data Collector services.



 

  • No labels