diff --git a/script/myssh b/script/myssh index ff17fe6..1580696 100755 --- a/script/myssh +++ b/script/myssh @@ -147,7 +147,7 @@ run_client() { then if [ -d "/Applications/Sequel Ace.app" ] && [ "${USE_CLI}" != true ] then - open "mysql://$2:$3@${SQL_PROXY_HOST}:6033" -a "Sequel Ace" + open "mysql://$2:$3@${SQL_PROXY_HOST}:6033/${4}" -a "Sequel Ace" elif which mysql >/dev/null 2>&1 then mysql --protocol=TCP -u "$2" -p"$3" -h "${SQL_PROXY_HOST}" "${4:+-D$4}" -P 6033