Check if the DB is there, put an error later on just for pgsql.