Run Database through Zero Trust Tunnels

Hey,
I was wondering how I can run a database through Cloudflare Zero Trust Tunnels 😅

I've tried setting up to go to a TCP connection internally, db.example.com -> tcp://10.10.10.11:3306, but its not working..
It works if I try setting it up to go to https://10.10.10.11:443 for example, but not if I go to a TCP port like MariaDB.

I get a weird socketopt error inside Datagrip, and just a "can't connect" in HeidiSQL.
Anyone have any ideas?
Was this page helpful?