Skip to content

Add support for unix domain socket #175

Closed

Description

@oshai

This will allow to connect to databases that requires unix socket connection like Google Cloud SQL.

Activity

  1. oshai commented on Dec 23, 2019

    @oshai
    ContributorAuthor
  2. andy-yx-chen commented on Jan 2, 2020

    @andy-yx-chen
    Contributor

    I created a PR #176 for this, however don't know how to update the tests to try the new change, if you happen to know how to do it quickly maybe you can add some tests

  3. oshai commented on Jan 3, 2020

    @oshai
    ContributorAuthor
  4. andy-yx-chen commented on Jan 3, 2020

    @andy-yx-chen
    Contributor

    Thanks, will work on it tomorrow

  5. oshai commented on Feb 19, 2020

    @oshai
    ContributorAuthor

    Any update on this issue?

  6. github-actions commented on May 14, 2020

    @github-actions

    Stale issue message

  7. reopened this on Oct 6, 2022
  8. oshai commented on Oct 6, 2022

    @oshai
    ContributorAuthor

    I am continuing the work on this in #319 so reopened the issue.
    Thanks @andy-yx-chen and @czp3009 for previous impl (that was not yet merge but part of the current effort) in #176 and #285.

    In the api side the current PR adds socketPath to Configuration. I am thinking if this is the most clear approach as in this case host + port are redundant.
    Also the current impl fallback to host port in case of some problems (when fallback to nio) and maybe this should be made more explicit.

    Lastly, the current PR does not have Postgres tests in case someone wants to contribute that. Otherwise the current PR will be merged without integration test for postgres (which is relatively minor part of the current change, but require setup effort).

  9. oshai commented on Oct 11, 2022

    @oshai
    ContributorAuthor

    Implemented in 2.1.6. Thanks @andy-yx-chen and @czp3009!

  10. andy-yx-chen commented on Oct 12, 2022

    @andy-yx-chen
    Contributor

    Implemented in 2.1.6. Thanks @andy-yx-chen and @czp3009!

    Thanks, this has been quite some time, it's great to see this is closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions