teamcity-server.log reports that the unsupported "NOCOUNT" option is enabled on the MS SQL database server. Contact your DBA to disable the setting as described here.
MySQL JDBC driver error: PacketTooBigException
The ER_NET_PACKET_TOO_LARGE error (PacketTooBigException / Packet for query is too large) is caused by the server-side max_allowed_packet configuration variable set to a low value or left at the default one.
The variable controls the maximum size of MySQL communication buffer with 4MB being the default for Windows builds of MySQL 5.6, whereas in popular Linux distributions (e. g. Debian and Fedora Core), this variable defaults to 16MB, for both i686 and amd64 architectures.
Check the value of
max_allowed_packetconfiguration variable by either examining
my.ini, or via
mysql> show variables like 'max_allowed_packet';
Increase (or explicitly set) the value of
max_allowed_packetconfiguration variable in
Setting a client-side value (via
Database character set/collation-related problems