Failure creating MySQL database in 1438

I decided to start from scratch with 1438 (standalone version) and wiped out my MySQL database from the previous build. I modified buildServerSpring.xml as I had previously, removed ~/.BuildServer and started TeamCity with:

% bin/

I end up with a partial database (5 tables - agent_sources_verion, deleted_build_types, history, running, vcs_support_info) but fail to complete the database creation.

I'm using MySQL 4.1.x. I'll put the key part of the log at the end.

On a somewhat related note, the mysql JDBC connector is GPL. I believe they would consider use of the jar as you do without release source for the product as in violation of the GPL. If you have a commercial license from them, ignore my message. If not, you might want to run it by your legal team. Or you could pull the jar and direct endusers where to get it.


INFO - erver.serverSide.impl.DBFacade - Connection pool configu
red (com.mysql.jdbc.Driver, maximum number of connections: 50)
ERROR - r.serverSide.impl.DatabaseUtil -

java.sql.SQLException: BLOB/TEXT column 'VCS_ROOT' used in key specification wit
hout a key length
at com.mysql.jdbc.MysqlIO.checkErrorPacket(
at com.mysql.jdbc.MysqlIO.sendCommand(
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(
at com.mysql.jdbc.Connection.execSQL(
at com.mysql.jdbc.Connection.execSQL(
at com.mysql.jdbc.Statement.execute(
at org.apache.commons.dbcp.DelegatingStatement.execute(DelegatingStatement.j
at jetbrains.buildServer.serverSide.impl.DBFacade.createVcsConnectionStatusT
at jetbrains.buildServer.serverSide.impl.DBFacade.initDB(
at jetbrains.buildServer.serverSide.impl.DBFacade.createDatabase(DBFacade.ja
at jetbrains.buildServer.serverSide.impl.DBFacade.( at jetbrains.buildServer.serverSide.impl.BuildServerImpl.initServer(BuildSer at jetbrains.buildServer.serverSide.impl.BuildServerImpl.]]>(BuildServerI

Please sign in to leave a comment.