added restore mysql db
This commit is contained in:
parent
121e84fc36
commit
e5e83476f7
|
@ -0,0 +1,10 @@
|
|||
#!/bin/bash
|
||||
|
||||
user=root
|
||||
pass=xxxx
|
||||
db=database
|
||||
file=$1
|
||||
|
||||
mysql -u$user -p$pass -f $db < $file
|
||||
|
||||
|
Loading…
Reference in New Issue