26 lines
1.1 KiB
Plaintext
26 lines
1.1 KiB
Plaintext
# This is a sample file for configuring TeamCity to use an external database.
|
|
# To make it effective, copy it to the "database.properties" file and modify the settings
|
|
# according to your environment.
|
|
# Do not modify this file, it will be overwritten on the TeamCity server start-up.
|
|
# See documentation at https://www.jetbrains.com/help/teamcity/?Setting+up+an+External+Database
|
|
|
|
# Database: MySQL
|
|
|
|
connectionUrl=jdbc:mysql://<hostname>:3306/<dbname>
|
|
connectionProperties.user=<username>
|
|
connectionProperties.password=<password>
|
|
|
|
# This option, when set to "true",
|
|
# allows reducing memory usage on large query results.
|
|
# Should only be used if the jdbc driver version is higher than 5.0.6.
|
|
# connectionProperties.useCursorFetch=true
|
|
|
|
# The maximum number of connections TeamCity can open on a database server.
|
|
maxConnections=50
|
|
|
|
# Specifies whether TeamCity should check each jdbc connection before use.
|
|
# It reduces the system performance but avoids cases when the system uses
|
|
# a connection that was closed by the database server due to a time-out or this
|
|
# connection was broken during the previous operation.
|
|
testOnBorrow=true
|