Fixes installing the database on top of a previously installed machine. MongoDB would error out if it had already been installed
Does the same for mysql.
Fix postgres like mysql and mongo
Merge pull request #1195 from TechEmpower/fix-database-install

Fixes installing the database on top of a previously installed machine. MongoDB would error out if it had already been installed