1
1
Fork 0

added restore mysql db

This commit is contained in:
David 2012-07-04 18:05:41 +02:00
parent 121e84fc36
commit e5e83476f7
1 changed files with 10 additions and 0 deletions

10
restore_mysql_db.sh Executable file
View File

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