ninedocker/services/15-mariadb/volume/nine/delete.sh

2 lines
85 B
Bash
Executable File

#!/bin/bash
mariadb -u root -p$MARIADB_ROOT_PASSWORD -e "DROP DATABASE IF EXISTS $1;"