| Port details |
- mysql97-client Multithreaded SQL database (client)
- 9.7.2 databases
=0 9.7.0Version of this port present on the latest quarterly branch. - Maintainer: joneum@FreeBSD.org
 - Port Added: 2026-05-03 19:09:04
- Last Update: 2026-08-05 13:40:31
- Commit Hash: e04b81b
- License: GPLv2
- WWW:
- https://www.mysql.com/
- Description:
- MySQL is a very fast, multi-threaded, multi-user and robust SQL
(Structured Query Language) database server. MySQL Server is intended for
mission-critical, heavy-load production systems as well as for embedding
into mass-deployed software
¦ ¦ ¦ ¦ 
- Manual pages:
-
- pkg-plist: as obtained via:
make generate-plist - USE_RC_SUBR (Service Scripts)
- no SUBR information found for this port
- Dependency lines:
-
- mysql97-client>0:databases/mysql97-client
- Conflicts:
- CONFLICTS_INSTALL:
- mysql*-client
- mariadb*-client
- percona*-client
- To install the port:
- cd /usr/ports/databases/mysql97-client/ && make install clean
- To add the package, run one of these commands:
- pkg install databases/mysql97-client
- pkg install mysql97-client
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: mysql97-client
- Flavors: there is no flavor information for this port.
- NOT_FOR_ARCHS: armv6 armv7 i386 powerpc
- distinfo:
- TIMESTAMP = 1785917655
SHA256 (mysql-9.7.2.tar.gz) = e5a676c7cb73738dc6ea33db2093806ebd512b629a139b897fcab68fcd81aaa4
SIZE (mysql-9.7.2.tar.gz) = 429211578
No package information for this port in our database- Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link:

- Master port: databases/mysql97-server
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- curl>0 : ftp/curl
- icu>0 : devel/icu
- liblz4>0 : archivers/liblz4
- bison : devel/bison
- cmake : devel/cmake-core
- pkgconf>=1.3.0_1 : devel/pkgconf
- Runtime dependencies:
-
- groff : textproc/groff
- perl5>=5.42.r<5.43 : lang/perl5.42
- Library dependencies:
-
- libfido2.so : security/libfido2
- libsasl2.so : security/cyrus-sasl2
- libedit.so.0 : devel/libedit
- libldap.so.2 : net/openldap26-client
- This port is required by:
- for Libraries
-
- databases/mysql97-server
Configuration Options:
- ===> The following configuration options are available for mysql97-client-9.7.2:
====> Default Client Plugins
SASLCLIENT=on: SASL client plugin module
===> Use 'make config' to modify these settings
- Options name:
- databases_mysql97-client
- USES:
- bison:build cmake:noninja cpe groff:run libedit localbase ncurses perl5 pkgconfig shebangfix ssl compiler:c++20-lang ldap
- pkg-message:
- For install:
- This is the mysql CLIENT without the server.
for complete server and client, please install databases/mysql97-server
- Master Sites:
|
| Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
| This is a slave port. You may also want to view the commits to the master port: databases/mysql97-server |
| Commit | Credits | Log message |
9.7.2 05 Aug 2026 13:40:31
    |
Jochen Neumeister (joneum)  |
databases/mysql97-{client,server}: Update to 9.7.2
This release contains the security fixes of the Oracle Critical
Patch Update of July 2026. 43 of the 54 MySQL issues apply to the
9.7 series and to the MySQL Router built from this port.
Drop patch-libs_mysql_gtid_tag__plain.h, the type_traits include
is upstream as of 9.7.2.
Changes:
https://dev.mysql.com/doc/relnotes/mysql/9.7/en/news-9-7-2.html
Security: 10f5f76e-90a5-11f1-bc30-3497f65b111b
Sponsored by: Netzkommune GmbH |
9.7.1_1 19 Jul 2026 15:24:42
    |
Jochen Neumeister (joneum)  |
databases/mysql{84,97}: Install man pages, clean up dependencies
Re-enable installation of the man pages shipped in the source tarball
and register them in pkg-plist, split between the client and server
packages. Same approach as databases/mysql80-client in PR 279234.
Rework the dependencies based on actual linkage: libfido2 is only used
by the client, curl, icu and liblz4 only by the server. Drop libhidapi
entirely, it is a transitive dependency of libfido2.
While here, fix the CONFLICTS_INSTALL pattern of mysql84-client not
matching mysql80-client and update the mysql84 pkg-message.
Sponsored by: Netzkommune GmbH |
9.7.1 19 Jul 2026 09:13:11
    |
Jochen Neumeister (joneum)  |
databases/mysql97: Fix build with llvm 21, directory ownership and cleanup
- Add upstream patches for missing #include <type_traits> and <cstdlib>,
fixing the build with clang/libc++ 21 [1] [2]
- Register MY_SECDIR and MY_TMPDIR with mysql:mysql 0750 in pkg-plist,
so mysqld no longer fails to start after package upgrades reset the
ownership to root [3]
- Fix CONFLICTS_INSTALL pattern in the client not matching
mysql80-client
and align it with the wildcard style used by the server
- Update pkg-message for 9.x: mysql_upgrade no longer exists, the server
performs upgrade tasks itself; fix version reference and quoting
- Drop duplicate -DWITH_LZ4=system, remove a stale line continuation,
whitespace fixes
- Rename patch-sql_server_component_mysql__file__imp.cc to follow the
patch naming convention
PR: 296439 [1], 296443 [2], 296758 [3]
Reported by: Trond Endrestøl [1] [2], Alexander Ushakov [3]
sponsored by: Netzkommune GmbH |
9.7.0 08 Jun 2026 19:08:54
    |
Bernhard Froehlich (decke)  |
databases/mysql97-client: Fix CPE information |
9.7.0 03 May 2026 19:07:44
    |
Jochen Neumeister (joneum)  |
databases/mysql97-{server|client}: add new Ports
Welcome MySQL 9.7 - the LTS Version from MySQL 9
What is new in MySQL9.7:
https://dev.mysql.com/doc/relnotes/mysql/9.7/en/news-9-7-0.html
Sponsored by: Netzkommune GmbH |