Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 10 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save humbertodias/3138cf7753b6814d37b606764fb9efaf to your computer and use it in GitHub Desktop.
Save humbertodias/3138cf7753b6814d37b606764fb9efaf to your computer and use it in GitHub Desktop.
Exporting Mysql server to internet
# tunnel online
ngrok tcp 3306
# connection
user=root
pass=techne
host=0.tcp.ngrok.io
port=16799
mysql -u$user -h$host -P$port -p$pass
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment