Refactor install file to check available databases

Now it checks for any pdo driver supported instead of only mysql