restore database test

This commit is contained in:
Bob Mottram 2018-01-24 16:32:31 +00:00
parent a14ac0ff82
commit 57cc40019d
1 changed files with 1 additions and 0 deletions

View File

@ -705,6 +705,7 @@ function restore_database {
USE_MONGODB=
USE_POSTGRESQL=
keep_database_running
cp $database_file ~/test.sql
mysqlsuccess=$(mysql -u root --password="$DATABASE_PASSWORD" ${restore_app_name} -o < $database_file)
else
USE_MONGODB=