SQLSRV connection fails if database config is left empty

Sometimes we want to connect without specifying a database