Create new database and new config.php only if necessary