Skip to content

Deprecate reading configuration from .my.cnf #1490

@rolandwalker

Description

@rolandwalker

As mentioned in #581, it has been a longstanding desire to migrate away from reading .my.cnf in favor of taking configuration only from ~/.myclirc.

The reasons in short are: either

  • a given config option exists only in one file or the other, which creates a burden on the user to know which one, or
  • a given config option exists in both, which creates a burden on the user to understand which overrides.

In addition, supporting two configuration files adds code complexity.

We can begin with warnings, which will take some work to implement, but are possible, then run a lengthy deprecation cycle as in #1464 .

It may be that we have to provide a migration tool, either built in to mycli, or as a standalone tool.

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