Skip to content

Change ENV configuration options #306

@SuperQ

Description

@SuperQ

Problem

The current DATA_SORUCE_NAME is a single ENV var that controls the connection string.

Advantages

  • Single ENV var for config.

Disadvantages

  • We have to parse and modify the connect string to add extra connection param.
  • Having to template connection and auth in the same ENV is cumbersome.
  • We would have to do a lot more code to validate input params.
  • It's harder to include defaults, like the connection params separate from the auth.
  • ENV var duplicates the my.cnf style configuration that is more commonly used in MySQL.

Proposal

Deprecate the ENV var configuration in favor of my.cnf style only.

Related

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