non  standard mysql socket support

Lets a user specify a non standard mysql socket as the host so they can use root `@ localhost` to run the installer.

Then checks to see if the socket was used when creating a new user and gives them `@ localhost` if true instead of `@ custom/socket/path`