Skip to content

Remove support for deprecated $MYSQL_UNIX_PORT environment variable#1945

Merged
rolandwalker merged 1 commit into
mainfrom
RW/remove-mysql-unix-port-support
Jun 22, 2026
Merged

Remove support for deprecated $MYSQL_UNIX_PORT environment variable#1945
rolandwalker merged 1 commit into
mainfrom
RW/remove-mysql-unix-port-support

Conversation

@rolandwalker

Copy link
Copy Markdown
Contributor

Description

Remove support for deprecated $MYSQL_UNIX_PORT environment variable, in favor of $MYSQL_UNIX_SOCKET. This has only been deprecated since March 2026, but it was also never documented.

Preparation for 2.0 release.

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 .

@rolandwalker rolandwalker self-assigned this Jun 20, 2026
 * remove reading of configuration from my.cnf files, in any location
 * remove reading of [client] 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-mysql-unix-port-support branch from 52ec2f9 to 66d9853 Compare June 22, 2026 08:37
@rolandwalker rolandwalker merged commit 9f00b5d into main Jun 22, 2026
11 checks passed
@rolandwalker rolandwalker deleted the RW/remove-mysql-unix-port-support branch June 22, 2026 08:44
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.

2 participants