Joost Platenburg · May 5

Connecting an IRIS container's SQL Gateway Connection to MySQL on Apple M1

I'm trying to connect to a MySQL database through a SQL Gateway (type JDBC) on a MacBook M1. Can't get the connection working, anybody any experience on this topic? 

Product version: IRIS 2022.1
$ZV: IRIS for UNIX (Ubuntu Server LTS for ARM64 Containers) 2022.1 (Build 152U) Fri Mar 18 2022 01:12:07 EDT
0 107
Discussion (3)1
Log in or sign up to continue

Can you give some more details on what's happening? Is there an error message?

Was indeed error on my part, I did not copied the driver to the container.

Your driver is not accessible in the container. To make it accessible, you'll need to either copy it into the container filesystem using a dockerfile like so,

COPY /Users/joost/mysql-connector-java-8.0.29.jar /

OR mount a volume to the container when you start it with the driver in the host path