diff options
author | Brian Evans <grknight@gentoo.org> | 2018-04-21 20:51:22 -0400 |
---|---|---|
committer | Brian Evans <grknight@gentoo.org> | 2018-04-21 21:10:04 -0400 |
commit | 2d09ba7465ce45ce75eb647f0c953e0b23cd6907 (patch) | |
tree | 94859cfb66a7dbc458792f67215564b64a13a45a /dev-db/mysql/files | |
parent | dev-db/mysql: Version bump to 5.6.40 (diff) | |
download | gentoo-2d09ba7465ce45ce75eb647f0c953e0b23cd6907.tar.gz gentoo-2d09ba7465ce45ce75eb647f0c953e0b23cd6907.tar.bz2 gentoo-2d09ba7465ce45ce75eb647f0c953e0b23cd6907.zip |
dev-db/mysql: Version bump for 5.7.22
Closes: https://bugs.gentoo.org/567590
Package-Manager: Portage-2.3.31, Repoman-2.3.9
Diffstat (limited to 'dev-db/mysql/files')
-rw-r--r-- | dev-db/mysql/files/my.cnf-5.7 | 3 | ||||
-rw-r--r-- | dev-db/mysql/files/my.cnf.distro-client | 21 | ||||
-rw-r--r-- | dev-db/mysql/files/my.cnf.distro-server | 28 |
3 files changed, 52 insertions, 0 deletions
diff --git a/dev-db/mysql/files/my.cnf-5.7 b/dev-db/mysql/files/my.cnf-5.7 new file mode 100644 index 000000000000..571ebf07a76e --- /dev/null +++ b/dev-db/mysql/files/my.cnf-5.7 @@ -0,0 +1,3 @@ +# @GENTOO_PORTAGE_EPREFIX@/etc/mysql/my.cnf: The global mysql configuration file. + +!includedir @GENTOO_PORTAGE_EPREFIX@/etc/mysql/mysql.d diff --git a/dev-db/mysql/files/my.cnf.distro-client b/dev-db/mysql/files/my.cnf.distro-client new file mode 100644 index 000000000000..8bf183634304 --- /dev/null +++ b/dev-db/mysql/files/my.cnf.distro-client @@ -0,0 +1,21 @@ +# @GENTOO_PORTAGE_EPREFIX@/etc/mysql/50-distro-client.cnf: The global mysql configuration file. + +# The following options will be passed to all MySQL clients +[client] +socket = @GENTOO_PORTAGE_EPREFIX@/var/run/mysqld/mysqld.sock +character-sets-dir = @GENTOO_PORTAGE_EPREFIX@/usr/share/mysql/charsets +default-character-set=utf8 + +[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 diff --git a/dev-db/mysql/files/my.cnf.distro-server b/dev-db/mysql/files/my.cnf.distro-server new file mode 100644 index 000000000000..d4ed30c1f089 --- /dev/null +++ b/dev-db/mysql/files/my.cnf.distro-server @@ -0,0 +1,28 @@ +# @GENTOO_PORTAGE_EPREFIX@/etc/mysql/50-distro-server.cnf: The global mysql configuration file. + +# add a section [mysqld-4.1] or [mysqld-5.0] for specific configurations +[mysqld] +character-set-server = utf8 +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 |