1
1
Fork 0
scripts/db/restore_mysql_db.sh

11 lines
93 B
Bash
Raw Normal View History

2012-07-04 18:05:41 +02:00
#!/bin/bash
user=root
pass=xxxx
db=database
file=$1
mysql -u$user -p$pass -f $db < $file