Added fixed mysql

This commit is contained in:
Torsten Kurbad
2023-09-28 09:22:39 +02:00
parent ca849b64d0
commit f48ce90cd3
9 changed files with 1409 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
# @GENTOO_PORTAGE_EPREFIX@/etc/mysql/my.cnf: The global mysql configuration file.
!includedir @GENTOO_PORTAGE_EPREFIX@/etc/mysql/mysql.d
@@ -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
@@ -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
+21
View File
@@ -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
loose-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
+28
View File
@@ -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
@@ -0,0 +1,21 @@
https://bugs.gentoo.org/895818
https://github.com/mysql/mysql-server/pull/456
From 2e5614c4ec50c60fbadbd57f213c1c7d6b959be9 Mon Sep 17 00:00:00 2001
From: Alfred Wingate <parona@protonmail.com>
Date: Wed, 12 Apr 2023 16:16:13 +0300
Subject: [PATCH] sql/binlog/group_commit: include header for std::uint64_t
GCC 13 changed default header dependencies for C++ necessitating
including cstdint explicitly.
--- a/sql/binlog/group_commit/bgc_ticket.h
+++ b/sql/binlog/group_commit/bgc_ticket.h
@@ -23,6 +23,7 @@
#ifndef BINLOG_BCG_TICKET_H
#define BINLOG_BCG_TICKET_H
+#include <cstdint>
#include <functional>
#include <limits>
#include <memory>