11 lines
93 B
Bash
11 lines
93 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
user=root
|
||
|
pass=xxxx
|
||
|
db=database
|
||
|
file=$1
|
||
|
|
||
|
mysql -u$user -p$pass -f $db < $file
|
||
|
|
||
|
|