-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(occ db:convert-type) Add support for UNIX sockets #39242
(occ db:convert-type) Add support for UNIX sockets #39242
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks okay though I left an inline suggestion. Do you mind using regex instead?
864c17c
to
1ac39e7
Compare
Hey @joshtrichards |
Fixes nextcloud#31998 Adds support to `occ db:convert-type` to support UNIX socket connections via MySQL/MariaDB. Uses same `dbhost` / `hostname` parameter parsing logic (adapted) as used elsewhere (at least the relevant parts) for consistency. Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
1ac39e7
to
71fff03
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@joshtrichards as you are a member of Nextcloud organization, could you maybe move this into a local branch? Some CI does not work on forks 😔 |
Merged, anyway, tests passed locally for me |
Summary
Adds support to
occ db:convert-type
to support UNIX socket connections via MySQL/MariaDB:dbhost
/hostname
parameter parsing logic (adapted) as used elsewhere (at least the relevant parts) for consistency.Checklist