diff options
author | Pjotr Prins | 2023-11-09 17:23:38 +0100 |
---|---|---|
committer | Pjotr Prins | 2023-11-09 17:23:38 +0100 |
commit | 147f51f393e06b7081894eff42544e64c87649e3 (patch) | |
tree | ca48645466fa2a999c5117b90e4a9021be444b96 /topics | |
parent | e2c22b1a89835f45576d074d9746c79c7e1df52c (diff) | |
download | gn-gemtext-147f51f393e06b7081894eff42544e64c87649e3.tar.gz |
And run tunnel on a different port!
Diffstat (limited to 'topics')
-rw-r--r-- | topics/setting-up-local-development-database.gmi | 7 |
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` ``` |