This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
chess
/
elxr
Watch
1
Star
1
Fork
11
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Updated restore script
pull/14/head
Steffan JJ
1 year ago
parent
e19319d408
commit
5d66ae1cb9
1 changed files
with
2 additions
and
0 deletions
Split View
Show Diff Stats
2
0
trias/Database/mysql_restore.sh
+ 2
- 0
trias/Database/mysql_restore.sh
View File
@@ -23,5 +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;"
# Restore backup file
mysql -u $DB_USER -p$DB_PASS $DB_NAME < $BACKUP_FILE
Write
Preview
Loading…
Cancel
Save