[#1374] add host and port to _get_db_from_url