Initializer
init(unixSocketPath:username:password:database:)
Create a configuration for connecting to a server through a UNIX domain socket.
init(unixSocketPath: String, username: String, password: String?, database: String?)
Parameters
unixSocketPathThe filesystem path of the socket to connect to.
usernameThe username to authenticate with.
passwordThe password to authenticate with.
databaseThe database to open. If
nil, the client connects to the server’s default database.