Written by

Integration Architect at Itzos B.V.
Question Joost Platenburg · May 5, 2022

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

Comments

Marc Mundt · May 5, 2022

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

0
Joost Platenburg  May 13, 2022 to Marc Mundt

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

0
Nicholai Mitchko · May 6, 2022

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

0