1
1
Fork 0
scripts/db/restore_mysql_db.sh

11 lines
93 B
Bash
Executable File

#!/bin/bash
user=root
pass=xxxx
db=database
file=$1
mysql -u$user -p$pass -f $db < $file