left off line that executes mysql query from the script

pull/217/head
iglocska 2014-02-07 11:48:56 +01:00
parent b7b105ccc3
commit a60e4b6ab3
1 changed files with 1 additions and 0 deletions

View File

@ -13,6 +13,7 @@ then
read password
printf '\nDatabase: '
read database
mysql -u $name -p$password $database < upgrade_2.2.sql
printf '\n\n'
else
printf '\n\nDatabase not updated. You will have to update it manually by executing\n\nmysql -u [username] -p[password] [database name] < upgrade_2.2.sql from the MISP/INSTALL directory\n\n'