From 0dfab512933819ca4db4b62abb8d19396fc4374d Mon Sep 17 00:00:00 2001 From: Casey Rapnicki Date: Wed, 6 Mar 2024 09:39:39 -0500 Subject: [PATCH] Fix db restore script. --- scripts/pipeline/database-restore.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/pipeline/database-restore.sh b/scripts/pipeline/database-restore.sh index b585b279c..6d3690cbc 100755 --- a/scripts/pipeline/database-restore.sh +++ b/scripts/pipeline/database-restore.sh @@ -44,7 +44,7 @@ echo "Restoring database to '${ENVIRONMENT}'..." } >/dev/null 2>&1 ## Drop (delete) current database. - mysql + mysql \ --defaults-extra-file=~/.mysql/mysql.cnf \ --host=${host} \ --port=${port} \ @@ -52,7 +52,7 @@ echo "Restoring database to '${ENVIRONMENT}'..." --execute="DROP DATABASE IF EXISTS ${dbname};" ## Create a new empty database. - mysql + mysql \ --defaults-extra-file=~/.mysql/mysql.cnf \ --host=${host} \ --port=${port} \