Editing a database connection

You can edit the database connection, when you want to change the database details that you added earlier or if you want to update the SSL certificate file.

Before you begin

You must have completed the following tasks:

Procedure

  1. Log in to Test Hub.

    The team space that contains your project is displayed.

  2. Click Active projects > My projects > project_name to open the project that contains the test assets.

    The Overview page of the project is displayed.

  3. Click Infrastructure > Database Connections.
    The Database Connections page is displayed.
  4. Click the Edit icon edit icon inline with the database that you want to edit.
    The Edit connection dialog is displayed.
  5. Perform the following actions in the Details tab:
    1. Edit the details of the connection.
    2. Enter the password for the database in the Password field.
    3. Select the Restrict access using Classifications checkbox if you want to restrict other members of the project from using this database connection.

      Later you can grant access to the required members by adding the connection to a classification.

      Note: The option, Restrict access using Classifications is not select. This is the default selection.
  6. Perform the following steps to change or add the SSL certificate and encrypt the data exchanged through the database.
    1. Click the SSL tab.
    2. Click the x icon to remove the existing Java Keystore file.
    3. Click Select File and browse to the location on your computer where you have the Java Keystore File.
    4. Select the file, and then click Open.
      The selected file name is displayed.
    5. Enter the password for the Java Keystore File in the Password field.
  7. Click Test to test the connection with the database.
    A message is displayed that confirms the connection with database.
  8. Click Save to save the database connection.

    A message is displayed that confirms database connection is modified and the edited database connection is displayed on the Database Connections page.

Results

You have edited the database connection in your project.