Skip to content

MySQL Over Local Network #270

Answered by josecanhelp
ulfie22 asked this question in Q&A
Jan 11, 2022 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Hey @ulfie22!

Takeout does not have a built-in network tunnel to share connections externally, but you can easily use ngrok to do that.

Install ngrok and run ngrok tcp 3306 (or whatever port your takeout container is bound to). This will provide a forwarding address that you can share with external networks.

For example, in the screenshot above, you can see a forwarding address of tcp://8.tcp.ngrok.io:15423

From an external network, you can connect via mysql to host 8.tcp.ngrok.io with port 15423.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ulfie22
Comment options

Answer selected by josecanhelp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants