Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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.

like image 313
Sam Seo Avatar asked Nov 15 '18 05:11

Sam Seo


1 Answers

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 Maven dependency.

like image 195
Mark Rotteveel Avatar answered Oct 07 '22 15:10

Mark Rotteveel