myt/server/docker-dump.sh

10 lines
190 B
Bash
Executable File

#!/bin/bash
FILE="$1.sql"
#if [ -f "$FILE" ]; then
echo "[LOG] -> Importing $FILE"
export MYSQL_PWD=root
mysql -u root --default-character-set=utf8 --comments -f < "$FILE"
#fi