salix/db/docker/docker-dump.sh

7 lines
162 B
Bash
Raw Permalink Normal View History

2020-09-28 08:40:50 +00:00
#!/bin/bash
export MYSQL_PWD=root
FILE="/docker-boot/$1.sql"
echo "[INFO] -> Importing $FILE"
mysql -u root --default-character-set=utf8 --comments -f < "$FILE"