Package Details: mysql-clients 8.0.33-1

Git Clone URL: (read-only, click to copy)
Package Base: mysql
Description: MySQL client tools
Upstream URL:
Licenses: GPL
Conflicts: mariadb-clients
Provides: mariadb-clients, mysql-clients
Submitter: Barthalion
Maintainer: muflone
Last Packager: muflone
Votes: 81
Popularity: 0.121113
First Submitted: 2013-04-25 19:13 (UTC)
Last Updated: 2023-04-22 14:26 (UTC)

Required by (60)

Sources (7)

Latest Comments

1 2 3 4 5 6 .. 18 Next › Last »

Wings-Fantasy commented on 2023-05-28 00:41 (UTC)

mysqld failed to start due to the lack of file, the software package that provides this file is numactl, please add it to the software dependencies

FrederickZh commented on 2023-03-16 23:51 (UTC) @richard-muvirimi

richard-muvirimi commented on 2023-03-16 19:04 (UTC)

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

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:

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
@@ -57,9 +57,9 @@ build() {
     -DINSTALL_SHAREDIR=share/mysql \
     -DROUTER_INSTALL_CONFIGDIR=etc/mysqlrouter \
     -DROUTER_INSTALL_DATADIR=var/lib/mysqlrouter \
-    -DROUTER_INSTALL_LOGDIR=var/log/mysqlrouter \
+    -DROUTER_INSTALL_LOGDIR=/var/log/mysqlrouter \
     -DWITH_FIDO=system \
     -DWITH_SSL=system \
@@ -144,8 +144,9 @@ package_mysql-clients(){
   pkgdesc="Fast SQL database server, community edition"
+          "etc/logrotate.d/mysqlrouter"
   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 /.