parent
1351816935
commit
44e7d69444
@ -1,7 +1,10 @@ |
||||
#!/bin/sh |
||||
|
||||
|
||||
MYSQL_DEFAULTS_FILE="my.cnf" |
||||
MYSQL="mysql --defaults-file=$MYSQL_DEFAULTS_FILE" |
||||
|
||||
echo "echo 'DROP DATABASE scriptform_acc' | $MYSQL" |
||||
echo "$MYSQL < dbs/${sample_db}.sql" |
||||
echo "This is what would be executed if this wasn't a fake script:" |
||||
echo |
||||
echo "echo 'DROP DATABASE $target_db' | $MYSQL" |
||||
echo "$MYSQL ${target_db} < ${sql_file}" |
||||
|
Loading…
Reference in new issue