Use Sequel Ace if available.
This commit is contained in:
parent
6db91f6502
commit
7575b7040c
1 changed files with 2 additions and 2 deletions
|
@ -138,9 +138,9 @@ set_host_env() {
|
||||||
run_client() {
|
run_client() {
|
||||||
if [ "$1" = 'mysql' ]
|
if [ "$1" = 'mysql' ]
|
||||||
then
|
then
|
||||||
if which ace >/dev/null 2>&1
|
if [ -d "/Applications/Sequel Ace.app" ]
|
||||||
then
|
then
|
||||||
ace
|
open "mysql://$2:$3@${SQL_PROXY_HOST}:6033" -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}" -P 6033
|
mysql --protocol=TCP -u "$2" -p"$3" -h "${SQL_PROXY_HOST}" -P 6033
|
||||||
|
|
Loading…
Reference in a new issue