Skip to content
This repository was archived by the owner on Aug 19, 2025. It is now read-only.
This repository was archived by the owner on Aug 19, 2025. It is now read-only.

Support for UNIX domain socket for MySQL #550

Description

@wojtasiq

Issue similar to #422, but for MySQL connection strings.

In short, unix_socketoption is not passed to the underlying aiomysql or asyncmy backends, which results in failed connection to database.

Originally described by coryvirok in #239 pull request (fixes only aiomysql backend) and later in opened another pull request #503 by ryanrasti. Credits to them!!!

Since this issue is blocking deployment to Google Cloud Run, I created a fix for both backends. Most of the work was done in #422, here I am only passing unix_socket value to create_pool function.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions