Search This Blog

Sunday, June 9, 2013

Ubuntu TeamCity No suitable JDBC driver found for database type: MySQL

Due to licensing terms, TeamCity does not bundle driver jars for external databases. You will need to download the Java driver and put the appropriate jars (see below) from it into <TeamCity Data Directory>/lib/jdbc directory (create it if necessary).

apt-get install libmysql-java
cp /usr/share/java/mysql.jar ~/.BuildServer/lib/jdbc/


[2013-06-09 18:39:34,963]   INFO -  jetbrains.buildServer.STARTUP - Current stage: Checking the database
[2013-06-09 18:39:36,581]   INFO -  jetbrains.buildServer.STARTUP - Database contains no tables.
[2013-06-09 18:39:36,582]   INFO -  jetbrains.buildServer.STARTUP - Current stage: Database is empty or doesn't exist

-> Just login to TeamCity via WWW (127.0.0.1:8111) and open administration panel (giving authorization token). From there you can initialize new database.



1 comment:

  1. Wow what a Great Information about World Day its very nice informative post. thanks for the post.
    Online watches

    ReplyDelete

If you like this post, please leave a comment :)