# Install mysql@8.4 with Homebrew, Nix, dnf, apk, chocolatey, apt, pacman, scoop, winget, zypper

Open source relational database management system. Version 8.4.11 via Homebrew; verified 2026-08-04. Also installable with nix: nix profile install nixpkgs#mysql84.

## Install

```sh
sudo av install brew:mysql@8.4
```

## Agent safety answer

mysql@8.4 provides MySQL database tooling that can affect local or remote data.

- **Credential access:** Reads database credentials, option files, and environment variables.
- **Remote mutation:** Can create, alter, drop, import, or export database state.
- **Publish/artifact risk:** Can generate dumps or imports that include sensitive records.
- **Recommended control:** Gate destructive SQL, dump/import commands, and credential reads.
- **Agent-use guidance:** Allow metadata inspection; require approval for data writes, dumps, imports, and secret access.

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install mysql@8.4
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#mysql84
```

  Evidence: nixpkgs package indexes: pkgs/by-name/my/mysql84/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- dnf (92%):

```sh
sudo dnf install mysql8.4
```

  Evidence: Fedora Rawhide package metadata: mysql8.4 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

- apk (92%):

```sh
sudo apk add mysql
```

  Evidence: Alpine Linux edge package indexes: mysql from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install libmysql++-dev
```

  Evidence: Debian stable package indexes: libmysql++-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- pacman (92%):

```sh
sudo pacman -S mariadb
```

  Evidence: Arch Linux sync databases: mariadb from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install mariadb
```

  Evidence: openSUSE Tumbleweed package metadata: mariadb from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- Chocolatey (92%):

```sh
choco install mysql
```

  Evidence: Chocolatey community package catalog: mysql from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','multipass'

- Scoop (92%):

```sh
scoop install main/mysql
```

  Evidence: Scoop official bucket manifest trees: bucket/mysql.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id Oracle.MySQL -e
```

  Evidence: Windows Package Manager source index: Oracle.MySQL from https://cdn.winget.microsoft.com/cache/source.msix

## Package facts

- **Package key:** brew:mysql@8.4
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/mysql@8.4>
- **Version:** 8.4.11
- **Source summary:** Open source relational database management system
- **Homepage:** <https://github.com/mysql/mysql-server>
- **Repository:** <https://github.com/mysql/mysql-server>
- **License:** GPL-2.0-only WITH Universal-FOSS-exception-1.0
- **Source archive:** <https://cdn.mysql.com/Downloads/MySQL-8.4/mysql-8.4.11.tar.gz>
- **Last updated:** 2026-08-04T13:11:25+01:00
- **Generated:** 2026-08-04T22:13:35+00:00

## Dependencies

- abseil
- icu4c@78
- lz4
- openssl@3
- protobuf
- zlib-ng-compat
- zstd

## Build dependencies

- bison
- cmake
- pkgconf

## Uses from macOS

- curl
- cyrus-sasl
- libedit

## Install behavior

- Post-install hook: not defined
- Service: declared
- Caveats: A "/etc/my.cnf" or "/etc/mysql/my.cnf" from another install may interfere with a Homebrew-built server starting up correctly. We've installed your MySQL database without a root password. To secure it run: mysql_secure_installation MySQL is configured to only allow connections from localhost by default To connect run: mysql -u root
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-08-04
- Package-manager version: 8.4.11
- Package-manager updated: 2026-08-04
- Local data: ok
- Upstream repository: https://github.com/mysql/mysql-server
- info: No cached GitHub release or tag data was available.
## Project history and usage

MySQL 8.4 is Oracle's first MySQL Long-Term Support line under the LTS and Innovation release model. Oracle announced MySQL Server 8.4.0 LTS and 8.0.37 as general-availability releases dated April 30, 2024, and described 8.4.0 as the first LTS release prepared by the 8.1, 8.2, and 8.3 Innovation releases. Oracle's 8.4 manual defines LTS releases as the track for stable feature sets and longer support windows, with necessary fixes inside an LTS series and additions/removals limited to the first LTS release.

### Project history

Technically, 8.4 consolidates the 8.x server line as a stable upgrade target rather than another feature-moving 8.0-style branch. Oracle's 8.4 announcement highlights LTS support, stable interoperability, bug and security fixes, InnoDB bulk-load improvements, clone flexibility inside one LTS series, histogram auto-updates, finer-grained FLUSH PRIVILEGES control, native password authentication disabled by default, and OpenTelemetry-oriented observability.

### How it is used

Homebrew's `mysql@8.4` formula packages that LTS branch as a keg-only versioned formula alongside `mysql@8.0` and the unversioned `mysql`. That makes it the Homebrew choice for users who want the MySQL 8.4 LTS server and client tools without following the unversioned formula to a newer major series.

### Sources

- <https://blogs.oracle.com/mysql/mysql-april-2024-ga-releases-now-available>
- <https://dev.mysql.com/doc/refman/8.4/en/mysql-releases.html>
- <https://dev.mysql.com/doc/relnotes/mysql/8.4/en/>
- <https://formulae.brew.sh/formula/mysql@8.4>


## Security Notes

No matching local secret-handling manifest was found for mysql@8.4. Package metadata is still published here so future coverage has a stable package URL.



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ~/.my.cnf

## Credential files

- Unix: ~/.my.cnf
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** mysql@8.4
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** yes
- **URL Keys:** stable

## Other Package-Manager Records

- Nix - mysql84: package manager index match | nixpkgs package indexes: pkgs/by-name/my/mysql84/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- dnf - mysql8.4 - 8.4.11-1.fc45: package manager index match | Fedora Rawhide package metadata: mysql8.4 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | MySQL client programs and shared libraries | http://www.mysql.com
- dnf - mysql8.4-common - 8.4.11-1.fc45: package manager index match | Fedora Rawhide package metadata: mysql8.4-common from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | The shared files required for MySQL server and client | http://www.mysql.com
- dnf - mysql8.4-devel - 8.4.11-1.fc45: package manager index match | Fedora Rawhide package metadata: mysql8.4-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Files for development of MySQL applications | http://www.mysql.com
- dnf - mysql8.4-errmsg - 8.4.11-1.fc45: package manager index match | Fedora Rawhide package metadata: mysql8.4-errmsg from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | The error messages files required by MySQL server | http://www.mysql.com
- dnf - mysql8.4-libs - 8.4.11-1.fc45: package manager index match | Fedora Rawhide package metadata: mysql8.4-libs from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | The shared libraries required for MySQL clients | http://www.mysql.com
- dnf - mysql8.4-server - 8.4.11-1.fc45: package manager index match | Fedora Rawhide package metadata: mysql8.4-server from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | The MySQL server and related files | http://www.mysql.com
- dnf - mysql8.4-test - 8.4.11-1.fc45: package manager index match | Fedora Rawhide package metadata: mysql8.4-test from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | The test suite distributed with MySQL | http://www.mysql.com
- dnf - mysql8.4-test-data - 8.4.11-1.fc45: package manager index match | Fedora Rawhide package metadata: mysql8.4-test-data from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | The test suite distributed with MySQL | http://www.mysql.com
- Debian apt - libmysql++-dev - 3.2.5-2.3+b1: versioned package alias match | Debian stable package indexes: libmysql++-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | MySQL C++ library bindings (development) | https://tangentsoft.net/mysqlpp/
- Debian apt - libmysql++-doc - 3.2.5-2.3: versioned package alias match | Debian stable package indexes: libmysql++-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | MySQL C++ library bindings (documentation and examples) | https://tangentsoft.net/mysqlpp/
- Debian apt - libmysql++3t64 - 3.2.5-2.3+b1: versioned package alias match | Debian stable package indexes: libmysql++3t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | MySQL C++ library bindings (runtime) | https://tangentsoft.net/mysqlpp/
- Ubuntu apt - libmysql++-dev - 3.2.5-2.3: versioned package alias match | Ubuntu 24.04 LTS package indexes: libmysql++-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | MySQL C++ library bindings (development) | https://tangentsoft.net/mysqlpp/
- Ubuntu apt - libmysql++-doc - 3.2.5-2.3: versioned package alias match | Ubuntu 24.04 LTS package indexes: libmysql++-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | MySQL C++ library bindings (documentation and examples) | https://tangentsoft.net/mysqlpp/
- Ubuntu apt - libmysql++3t64 - 3.2.5-2.3: versioned package alias match | Ubuntu 24.04 LTS package indexes: libmysql++3t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | MySQL C++ library bindings (runtime) | https://tangentsoft.net/mysqlpp/
- apk - mysql - 11.8.8-r0: versioned package alias match | Alpine Linux edge package indexes: mysql from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Dummy package for mysql migration | https://www.mariadb.org/


## Related links

- [Source-control packages](https://pkg.so/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Networking and protocol packages](https://pkg.so/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [openssl@3](https://pkg.so/brew/openssl-3/) - Runtime dependency declared by Homebrew.
- [zstd](https://pkg.so/brew/zstd/) - Runtime dependency declared by Homebrew.
- [lz4](https://pkg.so/brew/lz4/) - Runtime dependency declared by Homebrew.
- [protobuf](https://pkg.so/brew/protobuf/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://pkg.so/brew/pkgconf/) - Build dependency declared by Homebrew.
- [cmake](https://pkg.so/brew/cmake/) - Build dependency declared by Homebrew.
- [bison](https://pkg.so/brew/bison/) - Build dependency declared by Homebrew.
- [mysql](https://pkg.so/brew/mysql/) - Package name indicates the same formula family.
- [mysql@8.0](https://pkg.so/brew/mysql-8-0/) - Package name indicates the same formula family.
- [postgresql@14](https://pkg.so/brew/postgresql-14/) - Shares pkgdb curated category or tags: cli, data, database, rdbms, server.
- [postgresql@16](https://pkg.so/brew/postgresql-16/) - Shares pkgdb curated category or tags: cli, data, database, rdbms, server.
- [postgresql@17](https://pkg.so/brew/postgresql-17/) - Shares pkgdb curated category or tags: cli, data, database, rdbms, server.
- [postgresql@18](https://pkg.so/brew/postgresql-18/) - Shares pkgdb curated category or tags: cli, data, database, rdbms, server.
- [postgresql@15](https://pkg.so/brew/postgresql-15/) - Shares pkgdb curated category or tags: cli, data, database, rdbms, server.
- [percona-server](https://pkg.so/brew/percona-server/) - Shares pkgdb curated category or tags: cli, data, database, mysql, server.

## Combined YAML source

View the package source record on GitHub. [combined/mysql@8.4.yml](https://github.com/mxcl/pkgdb/blob/main/combined/mysql@8.4.yml)


## Sources

- pkg.so package database
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
- curated agent safety answer
