The patch package is required as a build dependency, this is the last step and after a lengthy build process, will simply fail with the error Unknown command: patch
Search Criteria
Package Details: libmysqlclient 9.0.1-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/mysql.git (read-only, click to copy) |
---|---|
Package Base: | mysql |
Description: | MySQL client libraries |
Upstream URL: | https://www.mysql.com/products/community/ |
Licenses: | GPL-2.0-only |
Conflicts: | libmariadbclient, mariadb-libs |
Provides: | libmariadbclient, libmysqlclient, mariadb-libs |
Submitter: | Barthalion |
Maintainer: | Muflone |
Last Packager: | Muflone |
Votes: | 82 |
Popularity: | 0.039220 |
First Submitted: | 2013-04-25 19:13 (UTC) |
Last Updated: | 2024-08-11 14:51 (UTC) |
Dependencies (18)
- libsasl
- zlib (zlib-ng-compat-gitAUR, zlib-gitAUR, zlib-ng-compat)
- zstd (zstd-gitAUR, zstd-staticAUR)
- cmake (cmake-gitAUR) (make)
- icu (icu-gitAUR) (make)
- jemalloc (jemalloc-gitAUR) (make)
- libaio (libaio-gitAUR) (make)
- libedit (make)
- libevent (libevent-gitAUR) (make)
- libfido2 (libfido2-fullAUR) (make)
- libtirpc (make)
- openssl (openssl-gitAUR, openssl-staticAUR) (make)
- rapidjson (rapidjson-gitAUR) (make)
- re2 (re2-gitAUR) (make)
- rpcsvc-proto (make)
- systemd-libs (systemd-chromiumos-libsAUR, systemd-libs-selinuxAUR, systemd-libs-gitAUR, systemd-libs-fmlAUR) (make)
- systemd-tools (systemd-chromiumosAUR, systemd-selinuxAUR, systemd-gitAUR, systemd-fmlAUR, systemd) (make)
- zlib (zlib-ng-compat-gitAUR, zlib-gitAUR, zlib-ng-compat) (make)
Required by (310)
- amarok (requires mariadb-libs)
- amarok-git (requires libmariadbclient)
- anubis (requires libmariadbclient) (make)
- azerothcore (requires mariadb-libs)
- bacula-bat (requires libmariadbclient) (make)
- bacula-common (requires libmariadbclient) (make)
- bacula-console (requires libmariadbclient) (make)
- bacula-dir (requires libmariadbclient) (make)
- bacula-dir-mariadb (requires libmariadbclient)
- bacula-dir-mariadb (requires libmariadbclient) (make)
- bacula-dir-mysql (requires libmariadbclient) (make)
- bacula-dir-postgresql (requires libmariadbclient) (make)
- bacula-dir-sqlite3 (requires libmariadbclient) (make)
- bacula-fd (requires libmariadbclient) (make)
- bacula-sd (requires libmariadbclient) (make)
- bareos-bconsole (requires libmariadbclient) (make)
- bareos-common (requires libmariadbclient) (make)
- bareos-contrib-director-python-plugins (requires libmariadbclient) (make)
- bareos-contrib-filedaemon-python-plugins (requires libmariadbclient) (make)
- bareos-contrib-tools (requires libmariadbclient) (make)
- bareos-database-common (requires libmariadbclient) (make)
- bareos-database-postgresql (requires libmariadbclient) (make)
- bareos-database-tools (requires libmariadbclient) (make)
- bareos-devel (requires libmariadbclient) (make)
- bareos-director (requires libmariadbclient) (make)
- bareos-director-python-plugins-common (requires libmariadbclient) (make)
- bareos-director-python3-plugin (requires libmariadbclient) (make)
- bareos-filedaemon (requires libmariadbclient) (make)
- bareos-filedaemon-glusterfs-plugin (requires libmariadbclient) (make)
- bareos-filedaemon-ldap-python-plugin (requires libmariadbclient) (make)
- bareos-filedaemon-libcloud-python-plugin (requires libmariadbclient) (make)
- bareos-filedaemon-mariabackup-python-plugin (requires libmariadbclient) (make)
- bareos-filedaemon-percona-xtrabackup-python-plugin (requires libmariadbclient) (make)
- bareos-filedaemon-postgresql-python-plugin (requires libmariadbclient) (make)
- bareos-filedaemon-python-plugins-common (requires libmariadbclient) (make)
- bareos-filedaemon-python3-plugin (requires libmariadbclient) (make)
- bareos-storage (requires libmariadbclient) (make)
- bareos-storage-droplet (requires libmariadbclient) (make)
- bareos-storage-fifo (requires libmariadbclient) (make)
- bareos-storage-glusterfs (requires libmariadbclient) (make)
- bareos-storage-python-plugins-common (requires libmariadbclient) (make)
- bareos-storage-python3-plugin (requires libmariadbclient) (make)
- bareos-storage-tape (requires libmariadbclient) (make)
- bareos-tools (requires libmariadbclient) (make)
- bareos-traymonitor (requires libmariadbclient) (make)
- bareos-vmware-plugin (requires libmariadbclient) (make)
- bareos-webui (requires libmariadbclient) (make)
- bareos-webui-apache (requires libmariadbclient) (make)
- bareos-webui-nginx (requires libmariadbclient) (make)
- barnyard2 (requires mariadb-libs)
- bgbilling (requires libmariadbclient)
- bgerp (requires libmariadbclient) (optional)
- bgerp-git (requires libmariadbclient) (optional)
- blt-git (requires libmariadbclient)
- boxedwine (make)
- boxedwine-git (make)
- bux-mariadb-client (requires mariadb-libs)
- cacti-spine (requires libmariadbclient)
- cbang (requires mariadb-libs) (optional)
- cbang-git (requires mariadb-libs) (optional)
- ccx2paraview (requires mariadb-libs)
- cfengine (requires libmariadbclient) (optional)
- cfengine-git (requires libmariadbclient) (optional)
- cherokee-git (requires libmariadbclient) (make)
- cherokee-git (requires libmariadbclient) (optional)
- cockatrice-client-git (requires mariadb-libs) (make)
- cockatrice-server-git (requires mariadb-libs) (make)
- codelite (requires mariadb-libs)
- codelite-git (requires mariadb-libs)
- codelite-unstable (requires mariadb-libs)
- collectd (requires mariadb-libs) (make)
- collectd (requires mariadb-libs) (optional)
- copperspice (requires mariadb-libs) (make)
- copperspice (requires mariadb-libs) (optional)
- copperspice-git (requires mariadb-libs) (make)
- copperspice-git (requires mariadb-libs) (optional)
- coturn-git (requires libmariadbclient)
- courier-authlib (requires libmariadbclient) (make)
- courier-authlib (requires libmariadbclient) (optional)
- cppdb (requires libmariadbclient) (make)
- cppdb (requires libmariadbclient) (optional)
- cqrtest-git (requires libmariadbclient)
- cyrus-imapd (requires mariadb-libs)
- cyrus-imapd (requires mariadb-libs) (make)
- cyrus-imapd-docs (requires mariadb-libs) (make)
- dao-git (requires libmariadbclient) (make)
- dao-git (requires libmariadbclient) (optional)
- ddnet (requires mariadb-libs)
- ddnet-git (requires mariadb-libs)
- diaspora-mysql (requires libmariadbclient)
- diaspora-mysql-git (requires libmariadbclient)
- diesel-cli-git (requires libmariadbclient)
- dktools (requires mariadb-libs) (optional)
- dovecot-with-stemmer (requires mariadb-libs)
- drogon (requires mariadb-libs)
- editcp (requires libmariadbclient)
- elmerfem-git (requires mariadb-libs)
- emboss (requires libmariadbclient) (make)
- emboss (requires libmariadbclient) (optional)
- epgd (requires libmariadbclient)
- epgd (requires libmariadbclient) (make)
- exim-heavy (requires libmariadbclient) (make)
- exim-lookup-mysql (requires libmariadbclient)
- exim-lookup-mysql (requires libmariadbclient) (make)
- exim-lookup-passwd (requires libmariadbclient) (make)
- exim-lookup-pgsql (requires libmariadbclient) (make)
- falcon (requires mariadb-libs)
- firefox-syncstorage (requires mariadb-libs) (make)
- firefox-syncstorage-git (requires mariadb-libs) (make)
- flow-tools (requires libmariadbclient) (make)
- forgottenserver-git (requires libmariadbclient)
- gambas-git (requires mariadb-libs)
- gdal-ecw (requires mariadb-libs)
- gdal-ecw (requires mariadb-libs) (make)
- gdal-ecw (requires mariadb-libs) (optional)
- gdal-hdf4 (requires mariadb-libs)
- gdal-hdf4 (requires mariadb-libs) (make)
- gdal-libkml (requires mariadb-libs) (make)
- gdal-libkml (requires mariadb-libs) (optional)
- gdal-libkml-filegdb (requires mariadb-libs) (make)
- gdal-libkml-filegdb (requires mariadb-libs) (optional)
- gerbera-mysql (requires mariadb-libs)
- gnokii (requires mariadb-libs) (make)
- gnokii (requires mariadb-libs) (optional)
- gnokii-git (requires libmariadbclient) (make)
- gnokii-git (requires libmariadbclient) (optional)
- gnuais
- gnucash-git (requires mariadb-libs) (make)
- gnucash-xbt (requires mariadb-libs) (make)
- gnucash-xbt-minimal (requires libmariadbclient) (make)
- hhvm
- hustoj-judge-git (requires libmariadbclient) (make)
- hustoj-web-git (requires libmariadbclient) (make)
- hydra-git (requires libmariadbclient)
- icinga2 (requires libmariadbclient) (make)
- icinga2 (requires libmariadbclient) (optional)
- icinga2-git (requires libmariadbclient) (make)
- icinga2-git (requires libmariadbclient) (optional)
- inspircd (requires libmariadbclient) (make)
- inspircd (requires libmariadbclient) (optional)
- io (requires mariadb-libs)
- io-git
- jabberd14-git (requires libmariadbclient) (optional)
- kangaroo-max-bin (requires mariadb-libs)
- kea-git (requires libmariadbclient)
- kea-git (requires libmariadbclient) (make)
- kodi-ext-git (requires mariadb-libs)
- kodi-ext-git (requires mariadb-libs) (make)
- kodi-ext-git-dev (requires mariadb-libs) (make)
- kodi-ext-git-eventclients (requires mariadb-libs) (make)
- kodi-ext-git-tools-texturepacker (requires mariadb-libs) (make)
- kodi-git (requires mariadb-libs)
- kodi-git (requires mariadb-libs) (make)
- kodi-git-dev (requires mariadb-libs) (make)
- kodi-git-eventclients (requires mariadb-libs) (make)
- kodi-git-tools-texturepacker (requires mariadb-libs) (make)
- kodi-stable-git (requires mariadb-libs)
- kodi-stable-git (requires mariadb-libs) (make)
- kodi-stable-git-dev (requires mariadb-libs) (make)
- kodi-stable-git-eventclients (requires mariadb-libs) (make)
- kodi-stable-git-tools-texturepacker (requires mariadb-libs) (make)
- kopano-core (requires mariadb-libs) (make)
- kopano-core-git (requires mariadb-libs) (make)
- libgda (requires mariadb-libs) (make)
- libgda-firebird (requires mariadb-libs) (make)
- libgda-jdbc (requires mariadb-libs) (make)
- libgda-mysql (requires mariadb-libs) (make)
- libgda-mysql (requires mariadb-libs)
- libgda-postgres (requires mariadb-libs) (make)
- libodb-mysql (requires mariadb-libs)
- libpreludedb (requires libmariadbclient) (make)
- librlib (requires libmariadbclient)
- lighttpd1.4-git (requires mariadb-libs) (make)
- lighttpd1.4-git (requires mariadb-libs) (optional)
- lua-sql-mysql (requires libmariadbclient)
- lua-sql-mysql (requires libmariadbclient) (make)
- lua-sql-postgres (requires libmariadbclient) (make)
- lua-sql-sqlite (requires libmariadbclient) (make)
- lwan-git (requires libmariadbclient)
- lyricue (requires libmariadbclient) (make)
- mariadb-connector-cpp-git (requires mariadb-libs)
- mariadb-connector-odbc (requires mariadb-libs)
- mariadb-epglv (requires libmariadbclient)
- mariadb-epglv (requires libmariadbclient) (make)
- mariadbpp-git (requires mariadb-libs)
- meowsql (requires mariadb-libs)
- meowsql-git (requires mariadb-libs)
- mosquitto-auth-plug (requires mariadb-libs)
- motion-git (requires mariadb-libs)
- motionplus (requires mariadb-libs)
- motionplus-git (requires mariadb-libs)
- mydumper (requires mariadb-libs)
- myodbc
- mysql-clients
- mysql-clients80
- mysql-clients81
- mysql-connector-c++ (requires libmariadbclient)
- mysql-proxy (requires mariadb-libs) (make)
- mysql-router (requires libmariadbclient) (make)
- mythplugins-mytharchive (requires mariadb-libs) (make)
- mythplugins-mythbrowser (requires mariadb-libs) (make)
- mythplugins-mythgame (requires mariadb-libs) (make)
- mythplugins-mythmusic (requires mariadb-libs) (make)
- mythplugins-mythnetvision (requires mariadb-libs) (make)
- mythplugins-mythnews (requires mariadb-libs) (make)
- mythplugins-mythweather (requires mariadb-libs) (make)
- mythplugins-mythweb (requires mariadb-libs) (make)
- mythplugins-mythzoneminder (requires mariadb-libs)
- mythplugins-mythzoneminder (requires mariadb-libs) (make)
- mythtv-git (requires libmariadbclient) (make)
- ncbi-toolkit (requires mariadb-libs)
- netatalk (requires mariadb-libs) (optional)
- ntopng (requires libmariadbclient)
- ntopng-bin (requires libmariadbclient)
- ntopng-git (requires libmariadbclient)
- ntopng-git (requires libmariadbclient) (make)
- ocelotgui (requires libmariadbclient)
- openems (requires mariadb-libs)
- opennebula (requires libmariadbclient)
- opennebula (requires libmariadbclient) (make)
- opensmtpd-extras (requires mariadb-libs) (make)
- opensmtpd-extras (requires mariadb-libs) (optional)
- opensmtpd-extras-git (requires mariadb-libs) (make)
- opensmtpd-extras-git (requires mariadb-libs) (optional)
- pike (requires libmariadbclient)
- piler (requires mariadb-libs)
- pmacct (requires libmariadbclient)
- poco-git (requires libmariadbclient)
- proftpd (requires mariadb-libs)
- proftpd-git (requires mariadb-libs)
- pure-ftpd (requires mariadb-libs)
- pure-ftpd-db (requires mariadb-libs)
- python-bareos (requires libmariadbclient) (make)
- python-gdal-ecw (requires mariadb-libs) (make)
- python-gdal-hdf4 (requires mariadb-libs) (make)
- python-gdal-libkml (requires mariadb-libs) (make)
- python-gdal-libkml-filegdb (requires mariadb-libs) (make)
- python-oursql (requires libmariadbclient)
- python-trame-vtk (requires mariadb-libs)
- python-uvw (requires mariadb-libs) (check)
- qepgs-player-git (requires mariadb-libs)
- qlandkartegt (requires libmariadbclient)
- qt3 (requires libmariadbclient) (optional)
- qt4 (requires mariadb-libs) (optional)
- qt4 (requires mariadb-libs) (make)
- qt5-base-git (requires mariadb-libs) (make)
- qt5-base-git (requires mariadb-libs) (optional)
- qt5-base-headless (requires mariadb-libs) (make)
- qt5-base-headless (requires mariadb-libs) (optional)
- qt5-pmp-base (requires libmariadbclient) (make)
- qt5-pmp-xcb-private-headers (requires libmariadbclient) (make)
- qt5-xcb-private-headers-git (requires mariadb-libs) (make)
- qt5-xcb-private-headers-git (requires mariadb-libs) (optional)
- qt6-base-git (requires mariadb-libs) (make)
- qt6-base-git (requires mariadb-libs) (optional)
- qt6-base-headless (requires mariadb-libs) (make)
- qt6-base-headless (requires mariadb-libs) (optional)
- qt6-xcb-private-headers-git (requires mariadb-libs) (make)
- r-rmysql (requires mariadb-libs)
- rsyslog (requires libmariadbclient) (make)
- rsyslog (requires libmariadbclient) (optional)
- rsyslog-nosystemd-git (requires libmariadbclient) (make)
- rsyslog-nosystemd-git (requires libmariadbclient) (optional)
- rtpengine (requires mariadb-libs)
- samplecat-git (requires mariadb-libs)
- sea-orm-cli (requires libmariadbclient)
- seafile-server (requires mariadb-libs)
- seiscomp (requires libmariadbclient) (make)
- seiscomp-git (requires libmariadbclient) (make)
- sequeljoe (requires libmariadbclient) (optional)
- sisiya-edbc-libs (requires libmariadbclient)
- slurm-llnl-git (requires libmariadbclient) (optional)
- soci (optional)
- soci-git (requires mariadb-libs)
- sogo (requires mariadb-libs)
- sope (requires libmariadbclient) (make)
- sope2 (requires libmariadbclient) (make)
- spectrum2 (requires libmariadbclient) (make)
- spectrum2 (requires libmariadbclient) (optional)
- sphinx (requires libmariadbclient)
- sphinx-beta (requires libmariadbclient)
- sqlpp11 (requires mariadb-libs) (make)
- sqlpp11 (requires mariadb-libs) (optional)
- stackdriver-collectd (requires mariadb-libs) (optional)
- stardict-tools (make)
- stardict-tools-git (requires libmariadbclient)
- sysbench-git (requires libmariadbclient)
- tango-database (requires mariadb-libs)
- term-ux-git (requires mariadb-libs)
- tracks (requires libmariadbclient) (make)
- tranalyzer (requires mariadb-libs)
- trojan-git (requires mariadb-libs)
- trojan-git (requires mariadb-libs) (make)
- ulogd-git (requires libmariadbclient) (make)
- ulogd-git (requires libmariadbclient) (optional)
- urweb (requires libmariadbclient)
- vdr-epg2vdr (requires libmariadbclient)
- vdr-scraper2vdr (requires libmariadbclient)
- vmangos-git (requires mariadb-libs)
- w1retap (requires mariadb-libs) (optional)
- xsb-prolog (requires mariadb-libs)
- yap (requires libmariadbclient)
- zabbix-nightly-agent (requires mariadb-libs) (make)
- zabbix-nightly-agent2 (requires mariadb-libs) (make)
- zabbix-nightly-frontend-php (requires mariadb-libs) (make)
- zabbix-nightly-proxy (requires mariadb-libs) (make)
- zabbix-nightly-proxy (requires mariadb-libs) (optional)
- zabbix-nightly-server (requires mariadb-libs) (optional)
- zabbix-nightly-server (requires mariadb-libs) (make)
Sources (8)
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 8 .. 19 Next › Last »
richard-muvirimi commented on 2023-03-16 19:04 (UTC)
D3vil0p3r commented on 2023-01-22 18:18 (UTC)
Hello, dumb question: what is the detailed difference between mysql and mariadb packages?
Muflone commented on 2022-11-06 17:49 (UTC)
both mariadb and percona-server already have a conflict with mysql
stop using AUR helpers until you learn how to use AUR, those conflicts are due to the fact you're installing mysql and mariadb-clients instead of mysql-clients which is provided by this package
fnix commented on 2022-11-05 21:01 (UTC)
Getting the conflict with percona-server as well.
diliu commented on 2022-09-01 14:05 (UTC) (edited on 2022-09-01 14:16 (UTC) by diliu)
conflict with its dependency
mysql: /usr/bin/mysql_upgrade exists in filesystem (owned by mariadb-clients)
mysql: /usr/bin/mysqlbinlog exists in filesystem (owned by mariadb-clients)
mysql: /usr/bin/mysqltest exists in filesystem (owned by mariadb-clients)
mysql: /usr/share/man/man1/mysql_upgrade.1.gz exists in filesystem (owned by mariadb-clients)
mysql: /usr/share/man/man1/mysqlbinlog.1.gz exists in filesystem (owned by mariadb-clients)
try drop-in replacement MariaDB instead. ref: https://wiki.archlinux.org/title/MySQL
FrederickZh commented on 2022-02-21 09:08 (UTC)
@Muflone Could you apply the patch below? Thank you!
diff --git a/PKGBUILD b/PKGBUILD
index 2191850..e1f14ce 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -57,9 +57,9 @@ build() {
-DINSTALL_SHAREDIR=share/mysql \
-DROUTER_INSTALL_CONFIGDIR=etc/mysqlrouter \
-DROUTER_INSTALL_DATADIR=var/lib/mysqlrouter \
-DROUTER_INSTALL_RUNTIMEDIR=run \
- -DROUTER_INSTALL_LOGDIR=var/log/mysqlrouter \
+ -DROUTER_INSTALL_LOGDIR=/var/log/mysqlrouter \
-DWITH_SYSTEM_LIBS=ON \
-DWITH_FIDO=system \
-DWITH_SSL=system \
-DWITH_LIBWRAP=OFF \
@@ -144,8 +144,9 @@ package_mysql-clients(){
package_mysql(){
pkgdesc="Fast SQL database server, community edition"
backup=("etc/mysql/my.cnf"
"etc/mysqlrouter/mysqlrouter.conf"
+ "etc/logrotate.d/mysqlrouter"
"etc/conf.d/${pkgname}.conf")
install="${pkgbase}.install"
depends=('mysql-clients' 'libsasl' 'zlib' 'jemalloc' 'libaio' 'libtirpc' 'icu'
'lz4' 'libevent' 'systemd-libs' 'zstd' 'bash')
@@ -229,11 +230,12 @@ package_mysql(){
rmdir "${pkgdir}/usr/usr/lib"
rmdir "${pkgdir}/usr/usr"
rmdir "${pkgdir}/usr/var/lib/mysqlrouter"
rmdir "${pkgdir}/usr/var/lib"
- rmdir "${pkgdir}/usr/var/log/mysqlrouter"
- rmdir "${pkgdir}/usr/var/log"
rmdir "${pkgdir}/usr/var"
+ rmdir "${pkgdir}/var/log/mysqlrouter"
+ rmdir "${pkgdir}/var/log"
+ rmdir "${pkgdir}/var"
# Arch Linux specific patches:
# * enable PrivateTmp for a little bit more security
# * force preloading jemalloc for memory management
FrederickZh commented on 2021-12-22 23:45 (UTC)
Got the following error:
systemd[1]: Starting Rotate log files...
logrotate[385400]: mysqlrouter:31 keyword 'var' not properly separated, found 0x2f
logrotate[385400]: error: mysqlrouter:31 unknown option 'var' -- ignoring line
logrotate[385400]: error: mysqlrouter:45 unexpected }
logrotate[385400]: error: found error in file mysqlrouter, skipping
systemd[1]: logrotate.service: Main process exited, code=exited, status=1/FAILURE
systemd[1]: logrotate.service: Failed with result 'exit-code'.
systemd[1]: Failed to start Rotate log files.
I think in /etc/logrotate.d/mysqlrouter
, line var/log/mysqlrouter/mysqlrouter.log {
needs a leading /
.
carlosmuller commented on 2021-08-27 12:36 (UTC)
Hi @Muflone, here is my patch to update to 8.0.26 and add a option to pass more options to the build process like adding debug or other parts
diff --git a/PKGBUILD b/PKGBUILD
index f0955fd..51ca6e3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,9 @@
pkgname=('mysql' 'libmysqlclient' 'mysql-clients')
pkgbase=mysql
-pkgver=8.0.25
+majorver=8.0
+minor=26
+pkgver="$majorver.$minor"
pkgrel=1
pkgdesc="Fast SQL database server, community edition"
arch=('x86_64')
@@ -22,7 +24,7 @@ source=("https://cdn.mysql.com/Downloads/MySQL-8.0/${pkgbase}-boost-${pkgver}.ta
"mysqld_service.patch"
"systemd-tmpfiles.patch"
"systemd-sysusers.conf")
-sha256sums=('93c5f57cbd69573a8d9798725edec52e92830f70c398a1afaaea2227db331728'
+sha256sums=('209442c1001c37bcbc001845e1dc623d654cefb555b47b528742a53bf21c0b4d'
'6bc24ae510f6b6bbad6b3edda2d0028b29292937b482274a4c2fae335f4de328'
'e1c23fa0971a13d998f2790379b68c475438d05b6d6f2691b99051dbf497567f'
'203dcd22fea668477ac7123dbd9909fae72d3d07f8855417a669a9c94db072ae'
@@ -79,7 +81,8 @@ build() {
-DCMAKE_CXX_LINK_FLAGS="${LDFLAGS}" \
-DDEFAULT_CHARSET=utf8mb4 \
-DDEFAULT_COLLATION=utf8mb4_unicode_ci \
- -DWITH_BOOST="../${pkgname}-${pkgver}/boost"
+ -DWITH_BOOST="../${pkgname}-${pkgver}/boost" \
+ $EXTRA_MYSQL_OPTS
make
}
@@ -166,11 +169,10 @@ package_mysql(){
rm "${pkgdir}/usr/lib/libmysqlclient.a"
rm "${pkgdir}/usr/lib/libmysqlclient.so"
rm "${pkgdir}/usr/lib/libmysqlclient.so.21"
- rm "${pkgdir}/usr/lib/libmysqlclient.so.21.1.25"
+ rm "${pkgdir}/usr/lib/libmysqlclient.so.21.1.$minor"
rm "${pkgdir}/usr/lib/libmysqlservices.a"
rm "${pkgdir}/usr/lib/pkgconfig/mysqlclient.pc"
rmdir "${pkgdir}/usr/lib/pkgconfig"
- rm "${pkgdir}/usr/lib/mysql/plugin/authentication_ldap_sasl_client.so"
rm -r "${pkgdir}/usr/include"
rm "${pkgdir}/usr/share/mysql/aclocal/mysql.m4"
rmdir "${pkgdir}/usr/share/mysql/aclocal"
Thanks for the time and effort put in this package!
Muflone commented on 2021-05-27 20:05 (UTC)
@fishnet37222 you can test the package by yourself by updating the pkgver in the PKGBUILD and offer your patches to fix the issues
Pinned Comments
Muflone commented on 2023-08-16 17:21 (UTC) (edited on 2023-08-16 20:41 (UTC) by Muflone)
Warning
https://dev.mysql.com/doc/refman/8.1/en/downgrading.html
Downgrade from MySQL 8.1 to MySQL 8.0 or earlier is not supported. The only supported alternative is to restore a backup taken before upgrading. It is therefore imperative that you back up your data before starting the upgrade process.
MySQL 8.0 is available in https://aur.archlinux.org/packages/mysql80