Skip to content

Conversation

@jjabba
Copy link

@jjabba jjabba commented Nov 2, 2025

This feature/issue is discussed here: Database socket connections #7575

Wiki.js uses knex under the hood.
Knex has support for socketPath-connections as described in the knexjs configuration options

TLDR:

You can also connect via a unix domain socket, which will ignore host and port.

I've mirrored this behaviour in this implementation, if socketPath is provided, then host and port are pruned.

I apologize in advance as this PR does not yet contain any tests.

@jjabba jjabba marked this pull request as ready for review November 5, 2025 00:38
@auto-assign auto-assign bot requested a review from NGPixel November 5, 2025 00:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants