Use Sequel Ace if available.

This commit is contained in:
Kevin Baensch 2023-01-18 10:22:08 +01:00
parent 6db91f6502
commit 7575b7040c

View file

@ -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