Updater script wipes out dbispconfig database if special characters are in mysql password
If you have a character in your mysql root password that the commandline cannot interpret (such as a ! in ours), it will cause update.php to completely wipe the dbispconfig database.
This is because the updater script calls mysqldump with something similar to this
mysqldump -uroot -pa!password [blabla]
This will cause an error because the commandline can't interpret this line. Therefore no export will be made, and the database will still be truncated, resulting in everything in the database effectively being lost if not manually backed up beforehand. This can obviously be quite catastrophic in a production enviroment.
It's easy to fix. Make sure the parameters to mysqldump are surround by single or double quotes, like so:
mysqldump '-uroot' '-pa!password' [blabla]