Parcourir la source

Script update for restore db

pull/14/head
Steffan JJ il y a 1 an
Parent
révision
1d1a958244
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1
    1
      trias/Database/mysql_restore.sh

+ 1
- 1
trias/Database/mysql_restore.sh Voir le fichier

@@ -23,7 +23,7 @@ echo "Enter the name of backup file: "
read fileName
BACKUP_FILE="/mysql_backup/$fileName"

mysql -u $DB_USER -p$DB_PASS -e "CREATE DB triq_demo;"
mysql -u $DB_USER -p$DB_PASS -e "CREATE database triq_demo;"

# Restore backup file
mysql -u $DB_USER -p$DB_PASS $DB_NAME < $BACKUP_FILE

Chargement…
Annuler
Enregistrer