Merge branch 'bugfix/sequel-dbname' into 'main'

Fix sequel open command not using the dbname config

See merge request ujamii_dev/auto-dev-reverse-proxy!3
This commit is contained in:
Kevin Baensch 2023-02-16 15:30:57 +00:00
commit 84baa7802b

View file

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