Configuring UTF8 Character Set for MySQL #
To create a MySQL database which uses the utf8 character set:
Create a new database:
Open
<
TeamCity Data Directory
>/config/database.properties
, and add thecharacterEncoding
property:
To change the character set of an existing MySQL database to utf8:
Shut the TeamCity server down.
From the
<
TeamCity Home
>/bin
directory, export the database using themaintainDB tool
:More details on this backup are here.
Create a new database with utf8 as the default character set, as described above.
Modify the
<
TeamCity Data Directory
>/config/database.properties
file by changing theconnectionUrl
property to:Import data the new database:
Start the TeamCity server.