Skip to content

Remove support for reading vendor my.cnf files#1952

Open
rolandwalker wants to merge 1 commit into
mainfrom
RW/remove-my-cnf-support
Open

Remove support for reading vendor my.cnf files#1952
rolandwalker wants to merge 1 commit into
mainfrom
RW/remove-my-cnf-support

Conversation

@rolandwalker

@rolandwalker rolandwalker commented Jun 20, 2026

Copy link
Copy Markdown
Contributor

Description

  • remove reading of configuration from my.cnf files, in any location
  • remove reading of [client] and [mysqld] configuration from mylogin.cnf files
  • retain definition of host endpoints via login-path names in mylogin.cnf file
  • define behave pager boundary in test/myclirc, since it depended on the [client] stanza of mylogin.cnf
  • remove deprecation warning when my.cnf was read
  • ssl_config no longer needs merge logic with my.cnf values
  • config file includes no longer need to be supported
  • remove --defaults-file CLI flag
  • remove --defaults-group-suffix CLI flag

Fixes #1490.

Preparation for release 2.0

Checklist

  • I added this contribution to the changelog.md file.
  • I added my name to the AUTHORS file (or it's already there).
  • To lint and format the code, I ran
    uv run ruff check && uv run ruff format && uv run mypy --install-types .

 * remove reading of configuration from my.cnf files, in any location
 * remove reading of [client] and [mysqld] configuration from
   mylogin.cnf files
 * retain definition of host endpoints via login-path names in
   mylogin.cnf file
 * define behave pager boundary in test/myclirc, since it depended on
   the [client] stanza of mylogin.cnf
 * remove deprecation warning when my.cnf was read
 * ssl_config no longer needs merge logic with my.cnf values
 * config file includes no longer need to be supported
 * remove --defaults-file CLI flag
 * remove --defaults-group-suffix CLI flag

Preparation for release 2.0
@rolandwalker rolandwalker force-pushed the RW/remove-my-cnf-support branch from ed67b4e to dbb2bdc Compare June 20, 2026 20:25
@rolandwalker rolandwalker self-assigned this Jun 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Deprecate reading configuration from .my.cnf

1 participant