Package Details: mysql 9.7.1-1

Git Clone URL: https://aur.archlinux.org/mysql.git (read-only, click to copy)
Package Base: mysql
Description: Fast SQL database server, community edition
Upstream URL: https://www.mysql.com/products/community/
Licenses: GPL-2.0-only
Conflicts: mariadb
Provides: mariadb, mysql
Submitter: Barthalion
Maintainer: Muflone
Last Packager: Muflone
Votes: 83
Popularity: 0.006347
First Submitted: 2013-04-25 19:13 (UTC)
Last Updated: 2026-07-05 16:55 (UTC)

Required by (230)

Sources (8)

Latest Comments

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

xsy420 commented on 2026-06-17 06:25 (UTC) (edited on 2026-06-17 06:27 (UTC) by xsy420)

In (website) newer version 9.7.1, it cannot remove libmysqlclient.so.24.1.0, because the version is libmysqlclient.so.24.1.1 After searching, version is defined in

/libmysql/CMakeLists.txt: L347-L357

IF(UNIX)
  SET(OS_SHARED_LIB_VERSION "${SHARED_LIB_MAJOR_VERSION}")
  IF(NOT FREEBSD AND NOT APPLE)
    STRING_APPEND(OS_SHARED_LIB_VERSION
      ".${SHARED_LIB_MINOR_VERSION}.${SHARED_LIB_PATCH_VERSION}")
  ENDIF()
  # Name of shared library is libmysqlclient on Unix
  SET(UNIX_OUTPUT_NAME OUTPUT_NAME mysqlclient)
  SET(UNIX_VERSION     VERSION     "${OS_SHARED_LIB_VERSION}")
  SET(UNIX_SOVERSION   SOVERSION   "${SHARED_LIB_MAJOR_VERSION}")
ENDIF()

/cmake/mysql_version.cmake: L28, L29, L57, L167

SET(SHARED_LIB_MAJOR_VERSION "24")
SET(SHARED_LIB_MINOR_VERSION "1")
MYSQL_GET_CONFIG_VALUE("MYSQL_VERSION_PATCH" PATCH_VERSION)
SET(SHARED_LIB_PATCH_VERSION ${PATCH_VERSION})

/MYSQL_VERSION:

MYSQL_VERSION_MAJOR=9
MYSQL_VERSION_MINOR=7
MYSQL_VERSION_PATCH=1

So simply change PKGBUILD:L168 to rm "${pkgdir}/usr/lib/libmysqlclient.so*", or get version from cmake file and "${pkgver##*.}"

tunght13488 commented on 2026-02-25 13:13 (UTC)

@lichking you need to install packages in this order

paru --sync libmysqlclient mysql-clients mysql

all of them are provided by the same repo https://aur.archlinux.org/mysql.git, the former is dependency of the later I'm using paru, you can switch with your own wrapper

Muflone commented on 2026-01-04 16:56 (UTC)

@lichking the package is not broken, you're installing mariadb-clients, probably using an AUR helper or whatever brokens your workflow

https://wiki.archlinux.org/title/Arch_User_Repository

lichking commented on 2026-01-04 16:15 (UTC) (edited on 2026-01-04 16:16 (UTC) by lichking)

Broken. Just wasted 40 Minutes compiling. Thanks. Comments from almost a year ago state the issue already. It requires you to install x-clients which then stops the installation due to conflicts.

error: failed to commit transaction (conflicting files)
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/mysqlbinlog.1.gz exists in filesystem (owned by mariadb-clients

sleepysheepyboi commented on 2025-03-14 19:39 (UTC)

@Spark71 Did you ever find a solution to this issue? I am having a similar problem using git and makepkg. When I try to install the package I've built, it prompts me to make an installation choice:

1) mariadb-clients 2> mariadb-lts-clients 3) percona-server-clients

Choosing any of them causes the the mysql package installation to run into conflicts and fail, which one might expect. Why am I being prompted to install these conflicting packages while installing a mysql package I've built myself?

Muflone commented on 2024-11-06 20:08 (UTC)

@Spark71 use git and makepkg for AUR as explained in the wiki page, not some broken AUR helpers

Spark71 commented on 2024-11-06 12:15 (UTC) (edited on 2024-11-06 12:16 (UTC) by Spark71)

I get mariadb when I try to install it

~ ❯ yay -S mysql                                                
:: There are 3 providers available for mysql:
:: Repository extra
    1) mariadb 2) mariadb-lts 3) percona-server 

Enter a number (default=1): 
==>

utherbone commented on 2024-07-20 04:59 (UTC)

This package shows error at verifies the authenticity. I use "$makepkg --skippgpcheck -i" to build and install package. Can the maintainer check the problem?