diff options
-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` ``` |