Skip to content

MySQL DB SSL support #1752

@pcfreak30

Description

@pcfreak30

Description

I have found that the current MySQL config at

func Open(user, password, addr, dbName string) (*dsql.DB, error) {
hard codes most DSN options.

I would like to see either the ability to pass on a miscellaneous set of query args to the driver, or support for a tls arg with an optional value (im my case im using self-signed certs, so need to bypass CA checks).

Oh and I am requesting this to be configurable over ENV as well.

Version

No response

What operating system are you running (e.g. Ubuntu 22.04, macOS, Windows 11)?

No response

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Backlog

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions