Added unix_support support for MySQL.

...P connections.

Moved creation of mysql dsn into a separate function to allow decision wether to use unix_socket or tcp socket connection.