Connect to MySQL with SSH Tunnel

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
asawyer13
Newbie
Posts: 19
Joined: Wed Aug 20, 2008 12:31 pm

Connect to MySQL with SSH Tunnel

Post by asawyer13 » Thu Feb 02, 2023 3:22 am

Is it possible to connect to MySQL database with SSH Tunnel?

Thanks
Alan

User avatar
Marcus Tettmar
Site Admin
Posts: 7378
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Re: Connect to MySQL with SSH Tunnel

Post by Marcus Tettmar » Thu Feb 09, 2023 6:39 pm

Yes, as you would with any other database client. Create your SSH tunnel. Usually you would map 127.0.0.1 through to your MySQL server. Then in Macro Scheduler you simply specify 127.0.0.1 as the host.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

Post Reply
cron
Sign up to our newsletter for free automation tips, tricks & discounts