From 147f51f393e06b7081894eff42544e64c87649e3 Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Thu, 9 Nov 2023 17:23:38 +0100 Subject: And run tunnel on a different port! --- topics/setting-up-local-development-database.gmi | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'topics') diff --git a/topics/setting-up-local-development-database.gmi b/topics/setting-up-local-development-database.gmi index f7d6f55..a4c6676 100644 --- a/topics/setting-up-local-development-database.gmi +++ b/topics/setting-up-local-development-database.gmi @@ -11,6 +11,13 @@ ssh -L 3306:127.0.0.1:3306 -f -N tux02.genenetwork.org mysql -uwebqtlout -pwebqtlout -h 127.0.0.1 db_webqtl -A -e "show tables;" ``` +If you already have that port in use on your machine try + +``` +ssh -L 3307:127.0.0.1:3306 -f -N tux02.genenetwork.org +mysql -uwebqtlout -pwebqtlout -h 127.0.0.1 -P 3307 db_webqtl -A -e "show tables;" +``` + To keep the connection alive add something like this to your `~/.ssh/config` ``` -- cgit v1.2.3