gentoo/dev-db/mysql/files/my.cnf-8.0.distro-client
Thomas Deutschmann e78f784397
dev-db/mysql: bump
- Rewrite pkg_config()

- Update pkg_postinst()

- Set default-auth-plugin=mysql_native_password by default for
  compatibility with Perl, PHP, Ruby...

Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
2019-08-13 03:52:07 +02:00

24 lines
749 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 = mysql_native_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