[Other doc versions]
[Doc downloads]
This page describes very specific configuration for your database connection parameters, which are set by Stash during database setup and migration. We don't expect that you will edit these except in collaboration with Atlassian Support.
In your Stash home directory, the database configuration is contained within the stash-config.properties
file. For example:
jdbc.url=jdbc:postgresql://localhost:5432/stash jdbc.user=stash_user jdbc.password=s3cr3t jdbc.driver=org.postgresql.Driver
プロパティ | 説明 |
---|---|
jdbc.url | This is the JDBC url that Stash will use to connect to the database. This should include the driver subprotocol (e.g., postgresql: ), the hostname, port and database that you will connect to. This string may vary depending on the database you are connecting to. Please seek specific examples for other databases from your database provider. |
jdbc.user | This is the user that Stash will connect to the database with. The user will need to be able to create and drop tables and indexes, as well as read and write operations on the entire database schema defined in jdbc.url . |
jdbc.password | The password that the user defined by jdbc.user will connect with. |
jdbc.driver | The JDBC driver class that should be used by Stash to connect to the database. |
If none of the above values are specified in stash-config.properties
, then a provided HSQL database will be used.