I recently installed the mongodb Bi-connector in order to use Tableau to visualize my data I successfully installed it in a docker container using a debian image. The connector successfully access my remote mongo instance and has generated the proper schema.
I tried to connect to my container and installed a mysql client to check if the connector was working, it's fine : result
But when I exit the container and I try from my host machine here is what I get (I mapped the 3307 container's port to my 9015 host port)
$ mysql --host localhost --protocol tcp --port 9015 ERROR 2013 (HY000): Lost connection to MySQL server at 'reading initial communication packet', system error: 2
I've tried with different mysql client version, I ve tried mapping different ports, I ve tried 127.0.0.1 instead of localhost, nothing works.
So I was wondering, does the connector has to be on the same machine than the mysql client or tableau ?