0

No suitable JDBC driver found for database type: MySQL

Just upgraded today from TeamCity 7 to TeamCity 8. The "TeamCity Server" (Windows service) starts successfully, but I get the following error message when browsing to the TeamCity web server:

No suitable JDBC driver found for database type: MySQL


Checked the server logs, but found no additional information.

MySQL 5.5.28 was installed, and mysql-connector-java-5.1.24-bin.jar was present in both {TeamCity}\lib and {TeamCity}\lib\jdbc. This setup was previously working with TeamCity 7. I updated both MySQL and the JDBC connector to the latest (5.5.32 and 5.1.25, respectively) in case there was a breaking change in compatibility between TeamCity 7 and 8, but it didn't help. I know TeamCity is loading the JDBC connector because the .jar file is locked and can't be deleted while the TeamCity Server is running.

Any ideas? This feels like a simple problem, so I must be missing something simple here.

5 comments

Please sign in to leave a comment.