Fix sequel open command not using the dbname config
This commit is contained in:
parent
f783ef46b6
commit
0dc643c213
1 changed files with 1 additions and 1 deletions
|
@ -147,7 +147,7 @@ run_client() {
|
||||||
then
|
then
|
||||||
if [ -d "/Applications/Sequel Ace.app" ] && [ "${USE_CLI}" != true ]
|
if [ -d "/Applications/Sequel Ace.app" ] && [ "${USE_CLI}" != true ]
|
||||||
then
|
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
|
elif which mysql >/dev/null 2>&1
|
||||||
then
|
then
|
||||||
mysql --protocol=TCP -u "$2" -p"$3" -h "${SQL_PROXY_HOST}" "${4:+-D$4}" -P 6033
|
mysql --protocol=TCP -u "$2" -p"$3" -h "${SQL_PROXY_HOST}" "${4:+-D$4}" -P 6033
|
||||||
|
|
Loading…
Reference in a new issue