11 lines
93 B
Bash
Executable File
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
|
|
|
|
|