Browse Source

fixed path to env

admin 2 months ago
parent
commit
6cbc9f3ee1
1 changed files with 3 additions and 1 deletions
  1. 3 1
      utils/delete_db.sh

+ 3 - 1
utils/delete_db.sh

@@ -3,6 +3,8 @@
 
 [ $# -eq 0 ] && { echo "Usage: $0 <database_name>"; exit 1; }
 
-source /opt/docker/db/MYSQL_ROOT_PASSWORD.env
+source /opt/docker/db/.env
+
 
 docker exec db mysql -p$MYSQL_ROOT_PASSWORD --execute "DROP DATABASE $1;"
+rm $1__db.conf