summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2019-10-31 02:45:20 +0100
committerThomas Deutschmann <whissi@gentoo.org>2019-10-31 02:45:35 +0100
commit1e197b6d121108fc0ffcfc7c294f9d6aa5bbb423 (patch)
tree584a960be320dc31cc1b5b41296e63d0cf55b059 /dev-db/percona-server
parentdev-util/cmake: Removed old (diff)
downloadgentoo-1e197b6d121108fc0ffcfc7c294f9d6aa5bbb423.tar.gz
gentoo-1e197b6d121108fc0ffcfc7c294f9d6aa5bbb423.tar.bz2
gentoo-1e197b6d121108fc0ffcfc7c294f9d6aa5bbb423.zip
dev-db/percona-server: add missing files
Fixes 1675444 ("dev-db/percona-server: bump to v8.0.17-8") Package-Manager: Portage-2.3.78, Repoman-2.3.17 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'dev-db/percona-server')
-rw-r--r--dev-db/percona-server/files/my.cnf-8.0.distro-client23
-rw-r--r--dev-db/percona-server/files/my.cnf-8.0.distro-server30
2 files changed, 53 insertions, 0 deletions
diff --git a/dev-db/percona-server/files/my.cnf-8.0.distro-client b/dev-db/percona-server/files/my.cnf-8.0.distro-client
new file mode 100644
index 000000000000..1c2ee7da1d92
--- /dev/null
+++ b/dev-db/percona-server/files/my.cnf-8.0.distro-client
@@ -0,0 +1,23 @@
+# @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
diff --git a/dev-db/percona-server/files/my.cnf-8.0.distro-server b/dev-db/percona-server/files/my.cnf-8.0.distro-server
new file mode 100644
index 000000000000..ac087963972e
--- /dev/null
+++ b/dev-db/percona-server/files/my.cnf-8.0.distro-server
@@ -0,0 +1,30 @@
+# @GENTOO_PORTAGE_EPREFIX@/etc/mysql/mysql.d/50-distro-server.cnf: The global mysql configuration file.
+
+# add a section [mysqld-8.0] for specific configurations
+[mysqld]
+# Using "mysql_native_password" for compatibility with Perl, PHP, Ruby...
+loose-default-authentication-plugin = mysql_native_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