From 172fa90084535190efc999bf60b114e87ffcf2af Mon Sep 17 00:00:00 2001 From: Bruce Bolt Date: Tue, 21 Mar 2017 08:21:00 +0000 Subject: [PATCH] MySQL needs -NB here --- parasite/scripts/production/copy-db-to-rel.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parasite/scripts/production/copy-db-to-rel.sh b/parasite/scripts/production/copy-db-to-rel.sh index beec5983b..e0cf0af85 100755 --- a/parasite/scripts/production/copy-db-to-rel.sh +++ b/parasite/scripts/production/copy-db-to-rel.sh @@ -3,7 +3,7 @@ cd /tmp/parasite-release # Dump all the databases into the tmp space echo "Dumping and loading databases" -databaselist=$($PARASITE_STAGING_MYSQL -e 'SHOW DATABASES LIKE "%_core%_'${ENSEMBL_VERSION}'_%"') +databaselist=$($PARASITE_STAGING_MYSQL -NB -e 'SHOW DATABASES LIKE "%_core%_'${ENSEMBL_VERSION}'_%"') databases=( `echo ${databaselist}` ensembl_compara_parasite_${PARASITE_VERSION}_${ENSEMBL_VERSION} ensembl_ontology_${ENSEMBL_VERSION} ensembl_website_${ENSEMBL_VERSION} ensemblgenomes_info_${EG_VERSION} ensemblgenomes_stable_ids_${PARASITE_VERSION}_${ENSEMBL_VERSION} ) for DB in "${databases[@]}" do