...
If your database configuration differs from default HSQLDB settings, you'll have to configure database in a separate database.properties file. This file should be located in the TeamCity data config directory (defaults $HOME\.BuildServer\config). After the first run of TeamCity template files database.mysql.properties and database.hsqldb.properties are be placed to this directory for reference. Copy one of them to database.properties and edit settings according to your database configuration.
Code Block | ||
---|---|---|
| ||
driverName=com.mysql.jdbc.Driver connectionUrl=jdbc:mysql://localhost/buildserver connectionProperties.user=username connectionProperties.password=pass maxConnections=50 poolPreparedStatements=true shutdownStatement= shutdownCompactStatement= connectionProperties.useLocalSessionState=true connectionProperties.elideSetAutoCommits=true connectionProperties.alwaysSendSetIsolation=false |
...