Browse Source

changes to import function in database_functions.sh

joel
Simon Bowie 2 years ago
parent
commit
dac16682f1
1 changed files with 1 additions and 3 deletions
  1. +1
    -3
      database_functions.sh

+ 1
- 3
database_functions.sh View File



Import() Import()
{ {
docker cp $IMPORT_SQL_FILE $CONTAINER:/tmp/import_file
docker exec -i $CONTAINER mysql -u $USERNAME -p$PASSWORD $DATABASE < /tmp/import_file
docker exec -i $CONTAINER mysql -u $USERNAME -p$PASSWORD $DATABASE < $IMPORT_SQL_FILE
} }


Table_export() Table_export()

Loading…
Cancel
Save