Skip to main content

Installing the JDBC driver from a public Maven repository

Since MySQL and H2 drivers are available in public repositories, they can be installed in one step using an bundle:install command in the container.

Here are the installation instructions for each of these (change the database version numbers if applicable):

  • MySQL:

    bundle:install mvn:mysql/mysql-connector-java/5.1.18
  • H2:

    bundle:install -s mvn:com.h2database/h2/1.3.165

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!