gentoo-ebuilds/dev-db/mysql/files/my.cnf-8.4.distro-server
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

29 lines
989 B
Text

# @GENTOO_PORTAGE_EPREFIX@/etc/mysql/mysql.d/50-distro-server.cnf: The global mysql configuration file.
# add a section [mysqld-8.4] for specific configurations
[mysqld]
loose-default-authentication-plugin = caching_sha2_password
character-set-server = utf8mb4
user = mysql
port = 3306
socket = @GENTOO_PORTAGE_EPREFIX@/var/run/mysqld/mysqld.sock
pid-file = @GENTOO_PORTAGE_EPREFIX@/var/run/mysqld/mysql.pid
log-error = @GENTOO_PORTAGE_EPREFIX@/var/log/mysql/mysqld.err
basedir = @GENTOO_PORTAGE_EPREFIX@/usr
datadir = @DATADIR@
skip-external-locking
lc_messages_dir = @GENTOO_PORTAGE_EPREFIX@/usr/share/mysql
#Set this to your desired error message language
lc_messages = en_US
# security:
# using "localhost" in connects uses sockets by default
# skip-networking
bind-address = 127.0.0.1
log-bin
server-id = 1
# point the following paths to different dedicated disks
#tmpdir = @GENTOO_PORTAGE_EPREFIX@/tmp/
#log-update = @GENTOO_PORTAGE_EPREFIX@/path-to-dedicated-directory/hostname