Do not type cast all the database url values.

We should only type cast when we need to use.

Related to 4b005fb371c2e7af80df7da63be94509b1db038c
Skip connection url test when the machine is using socket configuration.

The connection url parssing don't accept the socket option