1 |
commit: 1e197b6d121108fc0ffcfc7c294f9d6aa5bbb423 |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Oct 31 01:45:20 2019 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Oct 31 01:45:35 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e197b6d |
7 |
|
8 |
dev-db/percona-server: add missing files |
9 |
|
10 |
Fixes 1675444 ("dev-db/percona-server: bump to v8.0.17-8") |
11 |
|
12 |
Package-Manager: Portage-2.3.78, Repoman-2.3.17 |
13 |
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> |
14 |
|
15 |
.../percona-server/files/my.cnf-8.0.distro-client | 23 +++++++++++++++++ |
16 |
.../percona-server/files/my.cnf-8.0.distro-server | 30 ++++++++++++++++++++++ |
17 |
2 files changed, 53 insertions(+) |
18 |
|
19 |
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 |
20 |
new file mode 100644 |
21 |
index 00000000000..1c2ee7da1d9 |
22 |
--- /dev/null |
23 |
+++ b/dev-db/percona-server/files/my.cnf-8.0.distro-client |
24 |
@@ -0,0 +1,23 @@ |
25 |
+# @GENTOO_PORTAGE_EPREFIX@/etc/mysql/mysql.d/50-distro-client.cnf: The global mysql configuration file. |
26 |
+ |
27 |
+# The following options will be passed to all MySQL clients |
28 |
+[client] |
29 |
+# Should match default server to save a round trip |
30 |
+loose-default-auth = mysql_native_password |
31 |
+socket = @GENTOO_PORTAGE_EPREFIX@/var/run/mysqld/mysqld.sock |
32 |
+character-sets-dir = @GENTOO_PORTAGE_EPREFIX@/usr/share/mysql/charsets |
33 |
+loose-default-character-set = utf8mb4 |
34 |
+ |
35 |
+[mysql] |
36 |
+# uncomment the next directive if you are not familiar with SQL |
37 |
+#safe-updates |
38 |
+ |
39 |
+[mysqldump] |
40 |
+quick |
41 |
+max_allowed_packet = 16M |
42 |
+ |
43 |
+[myisamchk] |
44 |
+character-sets-dir=@GENTOO_PORTAGE_EPREFIX@/usr/share/mysql/charsets |
45 |
+ |
46 |
+[myisampack] |
47 |
+character-sets-dir=@GENTOO_PORTAGE_EPREFIX@/usr/share/mysql/charsets |
48 |
|
49 |
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 |
50 |
new file mode 100644 |
51 |
index 00000000000..ac087963972 |
52 |
--- /dev/null |
53 |
+++ b/dev-db/percona-server/files/my.cnf-8.0.distro-server |
54 |
@@ -0,0 +1,30 @@ |
55 |
+# @GENTOO_PORTAGE_EPREFIX@/etc/mysql/mysql.d/50-distro-server.cnf: The global mysql configuration file. |
56 |
+ |
57 |
+# add a section [mysqld-8.0] for specific configurations |
58 |
+[mysqld] |
59 |
+# Using "mysql_native_password" for compatibility with Perl, PHP, Ruby... |
60 |
+loose-default-authentication-plugin = mysql_native_password |
61 |
+character-set-server = utf8mb4 |
62 |
+user = mysql |
63 |
+port = 3306 |
64 |
+socket = @GENTOO_PORTAGE_EPREFIX@/var/run/mysqld/mysqld.sock |
65 |
+pid-file = @GENTOO_PORTAGE_EPREFIX@/var/run/mysqld/mysql.pid |
66 |
+log-error = @GENTOO_PORTAGE_EPREFIX@/var/log/mysql/mysqld.err |
67 |
+basedir = @GENTOO_PORTAGE_EPREFIX@/usr |
68 |
+datadir = @DATADIR@ |
69 |
+skip-external-locking |
70 |
+lc_messages_dir = @GENTOO_PORTAGE_EPREFIX@/usr/share/mysql |
71 |
+#Set this to your desired error message language |
72 |
+lc_messages = en_US |
73 |
+ |
74 |
+# security: |
75 |
+# using "localhost" in connects uses sockets by default |
76 |
+# skip-networking |
77 |
+bind-address = 127.0.0.1 |
78 |
+ |
79 |
+log-bin |
80 |
+server-id = 1 |
81 |
+ |
82 |
+# point the following paths to different dedicated disks |
83 |
+#tmpdir = @GENTOO_PORTAGE_EPREFIX@/tmp/ |
84 |
+#log-update = @GENTOO_PORTAGE_EPREFIX@/path-to-dedicated-directory/hostname |