use a common DSN now instead of a URI

never call really expensive regex methods if its useless