gentoo/dev-db/mysql/files/my.cnf-8.4.distro-client
Alfred Wingate 910a1bafe8
dev-db/mysql: add 8.4.5
* Add verify-sig support.
* Drop all 32bit support due to upstream explicitly discontinuing
  support.
* Rearrange dependencies to utilise BDEPEND where suitable.
* Lots of cosmetic changes to the build.
* Change default configuration to match MySQL defaults.
* Update dependencies (example. libevent requirement dropped).
* Drop latin1 use flag, it breaks assumptions to tests and a user who requires
  this can use MYSQL_DEFAULT_CHARSET and MYSQL_DEFAULT_COLLATION to set their
  preferred character encoding. Which for USE=latin1 is
  MYSQL_DEFAULT_CHARSET=latin1 and
  MYSQL_DEFAULT_COLLATION=latin1_swedish_ci.

Closes: https://bugs.gentoo.org/919420
Signed-off-by: Alfred Wingate <parona@protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/34267
Signed-off-by: Sam James <sam@gentoo.org>
2025-05-17 08:11:15 +01:00

24 lines
738 B
Plaintext

# @GENTOO_PORTAGE_EPREFIX@/etc/mysql/mysql.d/50-distro-client.cnf: The global mysql configuration file.
# The following options will be passed to all MySQL clients
[client]
# Should match default server to save a round trip
loose-default-auth = caching_sha2_password
socket = @GENTOO_PORTAGE_EPREFIX@/var/run/mysqld/mysqld.sock
character-sets-dir = @GENTOO_PORTAGE_EPREFIX@/usr/share/mysql/charsets
loose-default-character-set = utf8mb4
[mysql]
# uncomment the next directive if you are not familiar with SQL
#safe-updates
[mysqldump]
quick
max_allowed_packet = 16M
[myisamchk]
character-sets-dir = @GENTOO_PORTAGE_EPREFIX@/usr/share/mysql/charsets
[myisampack]
character-sets-dir = @GENTOO_PORTAGE_EPREFIX@/usr/share/mysql/charsets