- Configure the external database to be used by TeamCity (see the database-specific sections below).
- Run the TeamCity server for the first time.
- Select an external database to be used and specify the database connection settings.
If required, you can later manually modify your database connection settings.
Note that TeamCity creates its own database schema on the first start and actively modifies it during the upgrade. The schema is not changed when TeamCity is working normally.
The user account used by TeamCity should have permissions to create new, modify and delete existing tables in its schema, in addition to usual read/write permissions on all tables.
- You may also need to download the JDBC driver for your database.
Anchor database_driver database_driver
Due to licensing terms, TeamCity does not bundle driver jars for external databases. You will need to download the Java JDBC driver and put the appropriate
Anchor Database Driver Installation Database Driver Installation
.jarfiles (see driver-specific sections below) from it into the
TeamCity Data Directory
Please note that the
.jarfiles should be compiled for the Java version not greater than the one used to run TeamCity, otherwise you might see "Unsupported major.minor version" errors related to the database driver classes.