which jdbc (connector/j) to install for mac os

26,899

MySQL Connector/J is a Java library, and it is a pure Java driver, so it is platform independent. The various installers offered on the download page are just to simplify installation (although generally, installing Java libraries using an installer makes very little sense to me).

For MacOS, you can use 'platform independent' and either download the tar.gz or the zip, whichever you feel is simpler to unpack.

For development purposes, it would be simpler to use the MySQL Connector/J Maven dependency, for example:

<dependency>
  <groupId>mysql</groupId>
  <artifactId>mysql-connector-java</artifactId>
  <version>8.0.29</version>
</dependency>
Share:
26,899
Admin
Author by

Admin

Updated on July 05, 2022

Comments

  • Admin
    Admin almost 2 years

    I'm trying to download jdbc connector, but I cannot find mac os from the selection options from the link below:

    https://dev.mysql.com/downloads/connector/j/

    Where can I download mysql connector for mac os?

    Or is it the case that jdbc connector is already installed for mac os?

    I'm trying to using logstash to transfer mysql data into elasticsearch.