Package Details: mysql80 8.0.41-1

Git Clone URL: https://aur.archlinux.org/mysql80.git (read-only, click to copy)
Package Base: mysql80
Description: Fast SQL database server, community edition, v8.0
Upstream URL: https://www.mysql.com/products/community/
Licenses: GPL-2.0-only
Conflicts: mariadb, mysql
Provides: mariadb, mysql
Submitter: Muflone
Maintainer: Muflone
Last Packager: Muflone
Votes: 2
Popularity: 0.000089
First Submitted: 2023-08-16 20:40 (UTC)
Last Updated: 2025-03-10 23:52 (UTC)

Required by (212)

Sources (8)

Latest Comments

arachis commented on 2025-05-15 07:21 (UTC) (edited on 2025-05-15 07:38 (UTC) by arachis)

You can install also for ICU 76 you just need to do some modifications.

Only line #include <cstdint> is missing in 5 files, so we need to add it there.


Steps:
  • Download clean snapshot
  • Extract
  • Create 5 patch files in the root of extracted archive

cluster_metadata_dynamic_state.h.patch

--- a/router/src/router/include/mysqlrouter/cluster_metadata_dynamic_state.h
+++ b/router/src/router/include/mysqlrouter/cluster_metadata_dynamic_state.h
@@ -31,0 +32,1 @@
+#include <cstdint>

file_handle.h.patch

--- a/router/src/harness/include/mysql/harness/stdx/io/file_handle.h
+++ b/router/src/harness/include/mysql/harness/stdx/io/file_handle.h
@@ -30,0 +31,1 @@
+#include <cstdint>

http_request.h.patch

--- a/router/src/http/include/mysqlrouter/http_request.h
+++ b/router/src/http/include/mysqlrouter/http_request.h
@@ -38,0 +39,1 @@
+#include <cstdint>

keyring_file.cc.patch

--- a/router/src/harness/src/keyring/keyring_file.cc
+++ b/router/src/harness/src/keyring/keyring_file.cc
@@ -32,0 +33,1 @@
+#include <cstdint>

warning.h.patch

--- a/plugin/x/tests/driver/connector/warning.h
+++ b/plugin/x/tests/driver/connector/warning.h
@@ -34,0 +35,1 @@
+#include <cstdint>
  • Get checksums for each file, e.g. sha256sum cluster_metadata_dynamic_state.h

  • Modify PKGBUILD

Add 5 files in "source", e.g. "cluster_metadata_dynamic_state.h.patch"

Add 5 checksums in "sha256sums", e.g. "184...a6a"

Add commands to apply each patch file in "build" between "cmake" and "make", so around line 97 like so:

patch -d "$srcdir/mysql-8.0.41" -p1 -i "$srcdir/cluster_metadata_dynamic_state.h.patch"
  • Run makepkg -si in root folder
  • Run command to install, e.g. sudo pacman -U mysql80-8.0.41-1-x86_64.pkg.tar.zst mysql-clients80-8.0.41-1-x86_64.pkg.tar.zst
  • Start service sudo systemctl start mysqld

This is working for me without any additional issues

chemmett commented on 2025-03-10 20:25 (UTC)

Requires the icu75 package after the recent update to ICU 76.