File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -236,6 +236,13 @@ because this shows an error on the server side.
236236
237237## 3.3. Connecting through a Unix domain socket
238238
239+ The socket files are always put into the ` /tmp ` folder with the following naming
240+ convention: ` /tmp/.s.monetdb.<PORT> ` . So even in this case we need to know the port
241+ of the server, otherwise we would need to try all files with similar names.
242+ Since the default port is ` 50000 ` , the socket file will most likely be:
243+ ` /tmp/.s.monetdb.50000 ` . The client must either be run under the same user as
244+ the server, or it needs to have read/write permissions to the socket file.
245+
239246This case is the same as the TCP/IP connection, with a tiny difference at the very
240247beginning. When connecting to a Unix domain socket, then the client has to first
241248write a single byte (without any packet frame!) with value 0x30 or the chracter
You can’t perform that action at this time.
0 commit comments