summaryrefslogtreecommitdiff
path: root/topics
diff options
context:
space:
mode:
authorPjotr Prins2023-11-09 17:23:38 +0100
committerPjotr Prins2023-11-09 17:23:38 +0100
commit147f51f393e06b7081894eff42544e64c87649e3 (patch)
treeca48645466fa2a999c5117b90e4a9021be444b96 /topics
parente2c22b1a89835f45576d074d9746c79c7e1df52c (diff)
downloadgn-gemtext-147f51f393e06b7081894eff42544e64c87649e3.tar.gz
And run tunnel on a different port!
Diffstat (limited to 'topics')
-rw-r--r--topics/setting-up-local-development-database.gmi7
1 files changed, 7 insertions, 0 deletions
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`
```