# SSH Tunelling for MySQL connection

**URL:** <https://community.make.com/t/ssh-tunelling-for-mysql-connection/15000>\
**Category:** Questions\
**Tags:** api\
**Created:** [August 27, 2023, 7:59pm UTC](https://community.make.com/t/ssh-tunelling-for-mysql-connection/15000 "2023-08-27T19:59:29Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Daavism](https://avatars.discourse-cdn.com/v4/letter/d/90ced4/32.png) [@Daavism](https://community.make.com/u/Daavism)\
**Post date:** [August 27, 2023, 7:59pm UTC](https://community.make.com/t/ssh-tunelling-for-mysql-connection/15000/1 "2023-08-27T19:59:29Z")

</div>

Hi all.

I was wondering if SSH Tunneling is possible here. It’s needed to connect to MySQL, as the server in question doesn’t allow external connections to mysql, but using tunelling it would work fine.

Thank you for any insights.

---

<div class="post-metadata">

**Author:** ![samliew](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/samliew/32/13327_2.png) [@samliew](https://community.make.com/u/samliew)\
**Post date:** [August 29, 2023, 3:37am UTC](https://community.make.com/t/ssh-tunelling-for-mysql-connection/15000/2 "2023-08-29T03:37:56Z")

</div>

No, Make’s SQL module does not support connections over SSH tunnelling.

According to the [documentation](https://www.make.com/en/help/apps/database/mysql), the server that the database is on, has to be publically accessible from the internet.

![Screenshot_2023-08-29_110851](https://europe1.discourse-cdn.com/flex013/uploads/make/original/2X/f/f6260a31ab946f42cbc6726a5245bc8ed044ae64.png)

If you have security concerns, you can secure the connection further by using a “Self-signed certificate”.

---

<div class="post-metadata">

**Author:** ![Daavism](https://avatars.discourse-cdn.com/v4/letter/d/90ced4/32.png) [@Daavism](https://community.make.com/u/Daavism)\
**Post date:** [August 29, 2023, 9:01am UTC](https://community.make.com/t/ssh-tunelling-for-mysql-connection/15000/3 "2023-08-29T09:01:31Z")

</div>

Thank you very much.

---

<div class="post-metadata">

**Author:** ![DavidGurr\_Make](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/davidgurr_make/32/4624_2.png) [@DavidGurr\_Make](https://community.make.com/u/DavidGurr_Make)\
**Post date:** [August 29, 2023, 11:07am UTC](https://community.make.com/t/ssh-tunelling-for-mysql-connection/15000/4 "2023-08-29T11:07:20Z")

</div>

@Daavism if you’re on an Enterprise plan, you have the option to use the [On-premise Agent to make HTTP calls](https://www.make.com/en/help/apps/built-in-apps/http-agent) to an on-premise REST API.

Alternatively, you could look at using [Ngrok](https://ngrok.com/). This is effectively a reverse proxy - and might even allow using the Make MySQL app (I’m not an expert on Ngrok so I can’t be sure on that).

---

<div class="post-metadata">

**Author:** ![Make\_Bot](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/make_bot/32/14661_2.png) [@Make\_Bot](https://community.make.com/u/Make_Bot)\
**Post date:** [October 10, 2023, 1:08pm UTC](https://community.make.com/t/ssh-tunelling-for-mysql-connection/15000/6 "2023-10-10T13:08:19Z")

</div>


