Skip to content

Allow connection to MySQL via Unix domain socket #2197

@luixxiul

Description

@luixxiul

Is your feature request related to a problem? Please describe.

The DSN format is fixed on this line, and it forces connection to MySQL database server via TCP.

It would be nice if a raw DSN string itself could be specified on the configuration file or the option to enable connection via Unix domain socket for the database was added.

Describe the solution you'd like

  1. Add an option to set a raw DSN string for MySQL server
  2. Add an option to enable connection to the MySQL server via Unix domain socket

Describe alternatives you've considered

No response

What are you using SFTPGo for?

Private user, home usecase (home backup/VPS)

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions