Skip to content

Commit 6a491b3

Browse files
bkandasadahlerlend
authored andcommitted
Bug#27675380 - ADD INFO ABOUT -DEFAULT-AUTHENTICATION-PLUGIN IN MY.CNF DOCKER RPM PKGS
Starting MySQL 8.0.4, the default-authentication-plugin was changed to caching_sha2_password, this might cause connnection issues for various clients. For Docker RPM packages, Add comment on how to revert to previous default in my.cnf for easy transition.
1 parent 7ba06c3 commit 6a491b3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packaging/rpm-docker/my.cnf.in

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@
1717
# join_buffer_size = 128M
1818
# sort_buffer_size = 2M
1919
# read_rnd_buffer_size = 2M
20+
21+
# Remove leading # to revert to previous value for default_authentication_plugin,
22+
# this will increase compatibility with older clients. For background, see:
23+
# https://dev.mysql.com/doc/refman/@MYSQL_BASE_VERSION@/en/server-system-variables.html#sysvar_default_authentication_plugin
24+
# default-authentication-plugin=mysql_native_password
2025
skip-host-cache
2126
skip-name-resolve
2227
datadir=@INSTALL_MYSQLDATADIR@

0 commit comments

Comments
 (0)