D
D
DVoropaev2018-08-14 14:45:55
JIRA
DVoropaev, 2018-08-14 14:45:55

What does this line mean in the jira configuration (this file is responsible for connecting to the database)?

I need to find out which database jira connects to, and then go to this database.
I opened /var/atlassian/application-data/jira/dbconfig.xml and there:

spoiler
<?xml version="1.0" encoding="UTF-8"?>

<jira-database-config>
  <name>defaultDS</name>
  <delegator-name>default</delegator-name>
  <database-type>h2</database-type>
  <schema-name>PUBLIC</schema-name>
  <jdbc-datasource>
    <url>jdbc:h2:file:/var/atlassian/application-data/jira/database/h2db</url>
    <driver-class>org.h2.Driver</driver-class>
    <username>sa</username>
    <password></password>
    <pool-min-size>20</pool-min-size>
    <pool-max-size>20</pool-max-size>
    <pool-max-wait>30000</pool-max-wait>
    <min-evictable-idle-time-millis>4000</min-evictable-idle-time-millis>
    <time-between-eviction-runs-millis>5000</time-between-eviction-runs-millis>
    <pool-max-idle>20</pool-max-idle>
    <pool-remove-abandoned>true</pool-remove-abandoned>
    <pool-remove-abandoned-timeout>300</pool-remove-abandoned-timeout>
  </jdbc-datasource>
</jira-database-config>


this line is of interest
<url>jdbc:h2:file:/var/atlassian/application-data/jira/database/h2db</url>

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexey Ukolov, 2018-08-14
@alexey-m-ukolov

www.h2database.com/html/main.html

C
chupasaurus, 2018-08-14
@chupasaurus

Written same, H2 . The data is stored in a file at the specified path.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question