Properly support UDS
opened this issue · comments
Unix Domain Sockets are not completely usable yet. The driver accepts any URL with unix scheme unix://localhost
, but the host isn't turned into a socket file path (e.g. /run/mysqld.sock
) - and also doesn't allow to be specified. The underlying issue is parse_url
, which obviously does not accept file paths.
We need to separate the unix scheme parsing from the generic url parsing and provide a default socket path, such as /run/mysql.sock
(?).