| Port details |
- mysql97-server Multithreaded SQL database (server)
- 9.7.2_2 databases
=0 9.7.2Version 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-23 16:31:27
- Commit Hash: 3c94442
- 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)
-
- Dependency lines:
-
- mysql97-server>0:databases/mysql97-server
- Conflicts:
- CONFLICTS_INSTALL:
- mysql*-server
- mysqlwsrep*-server
- mariadb*-server
- percona*-server
- To install the port:
- cd /usr/ports/databases/mysql97-server/ && make install clean
- To add the package, run one of these commands:
- pkg install databases/mysql97-server
- pkg install mysql97-server
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: mysql97-server
- 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
Packages (timestamps in pop-ups are UTC):
- Slave ports:
-
- databases/mysql97-client
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- 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:
-
- libcurl.so : ftp/curl
- libicutu.so : devel/icu
- liblz4.so : archivers/liblz4
- libedit.so.0 : devel/libedit
- libmysqlclient.so.24 : databases/mysql97-client
- There are no ports dependent upon this port
Configuration Options:
- ===> The following configuration options are available for mysql97-server-9.7.2_2:
====> Permissible Storage Engines (to compile statically into the server)
ARCHIVE=off: Compile "Archive Storage" statically in server
BLACKHOLE=off: Compile "Blackhole Storage" statically in server
EXAMPLE=off: Compile "Example Storage" statically in server
FEDERATED=off: Compile "Federated Storage" statically in server
INNOBASE=off: Compile "InnoDB Storage" statically in server
PARTITION=off: Compile "Partitioning support Storage" statically in server
PERFSCHEMA=off: Compile "Performance Schema Storage" statically in server
====> Default features knobs
PERFSCHM=on: Enable "Performance Schema" by default (High RAM usage)
===> Use 'make config' to modify these settings
- Options name:
- databases_mysql97-server
- USES:
- bison:build cmake:noninja cpe groff:run libedit localbase ncurses perl5 pkgconfig shebangfix ssl compiler:c++20-lang mysql:97
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
| Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
| Commit | Credits | Log message |
9.7.2_2 23 Aug 2026 16:31:27
    |
Jochen Neumeister (joneum)  |
databases/mysql{80,84,97}-server: Fix build on CPUs without SSE4.2
The crc32 code declares target("sse4.2"), but the _mm_crc32_* intrinsics
require the crc32 feature. With -mno-crc32, as emitted by -march=native
on a CPU without the instruction, sse4.2 no longer implies crc32 and the
build fails. Declare crc32 instead, including the two flatten wrappers that
inline those intrinsics.
PR: 275404
Sponsored by: Netzkommune GmbH |
9.7.2_2 23 Aug 2026 11:44:51
    |
Jochen Neumeister (joneum)  |
databases/mysql{80,84,97}-server: Add rc script and user for MySQL Router
All three server ports build and install MySQL Router, but it was never
usable out of the box: there is no mysqlrouter user, no rc script, no
configuration directory, and no log, runtime or data directory. The only
trace of an integration was etc/logrotate.d/mysqlrouter, whose
"create 600 mysqlrouter mysqlrouter" refers to an account that no port
creates, so logrotate(8) skipped that entry with an error and exited
non-zero.
Upstream names that account itself: scripts/CMakeLists.txt sets
MYSQLROUTER_USER to "mysqlrouter", the built-in help of mysqlrouter
suggests --user=mysqlrouter, and the systemd unit shipped for Linux runs
the service under it.
(Only the first 15 lines of the commit message are shown above ) |
9.7.2_1 13 Aug 2026 14:22:40
    |
Jochen Neumeister (joneum)  |
databases/mysql*-server: Fix plist issue
Move LICENSE.router and README.router from ${PREFIX} to ${DOCSDIR},
where they belong according to hier(7).
PR: 290283
Reported by: se
Sponsored by: Netzkommune GmbH |
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_2 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_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.1 30 Jun 2026 14:56:19
    |
Jochen Neumeister (joneum)  |
databases/mysql97-{server|client}: Update to 9.7.1
Changelog: https://dev.mysql.com/doc/relnotes/mysql/9.7/en/news-9-7-1.html
Sponsored by: Netzkommune GmbH |
9.7.0 08 Jun 2026 19:08:54
    |
Bernhard Froehlich (decke)  |
databases/mysql97-server: 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 |