Parses a database URL to various formats