# Install mysql-client@8.0 with Homebrew, apt, apk, zypper

Open source relational database management system. Version 8.0.46 via Homebrew; verified 2026-04-21.

## Install

```sh
sudo av install brew:mysql-client@8.0
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install mysql-client@8.0
```

  Evidence: local Homebrew formula metadata

### Linux

- Ubuntu apt (92%):

```sh
sudo apt install mysql-client-8.0
```

  Evidence: Ubuntu 24.04 LTS package indexes: mysql-client-8.0 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz

- apk (92%):

```sh
sudo apk add mysql-client
```

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

- zypper (92%):

```sh
sudo zypper install mariadb-client
```

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

## Package facts

- **Package key:** brew:mysql-client@8.0
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/mysql-client@8.0>
- **Version:** 8.0.46
- **Source summary:** Open source relational database management system
- **Homepage:** <https://github.com/mysql/mysql-server>
- **Repository:** <https://github.com/mysql/mysql-server>
- **Upstream docs:** <https://dev.mysql.com/doc/refman/8.0/en>
- **License:** GPL-2.0-only WITH Universal-FOSS-exception-1.0
- **Source archive:** <https://cdn.mysql.com/Downloads/MySQL-8.0/mysql-boost-8.0.46.tar.gz>
- **Last updated:** 2026-04-21T20:03:55Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- lz4_decompress (cli)
- mysql_ssl_rsa_setup (cli)
- mysqlpump (cli)
- zlib_decompress (cli)
- lz4_decompress (alias)
- mysql_ssl_rsa_setup (alias)
- mysqlpump (alias)
- zlib_decompress (alias)

## Dependencies

- libevent
- libfido2
- openssl@3
- zlib-ng-compat
- zstd

## Build dependencies

- bison
- cmake
- pkgconf

## Uses from macOS

- libedit

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 8.0.46
- Package-manager updated: 2026-04-21
- 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

The `mysql-client@8.0` formula packages the client-side tools for the MySQL 8.0 series, separating the CLI utilities from a full local server install. It inherits the broader MySQL history: MySQL was founded in 1995 by Allan Larsson, David Axmark, and Michael "Monty" Widenius, grew through early web and Linux adoption, moved to the GPL during the MySQL 3.23 era, was acquired by Sun in 2008, and came under Oracle through Oracle's acquisition of Sun.

### Project history

MySQL 8.0 was a major technical generation. Oracle's 8.0 manual highlights a transactional data dictionary replacing older metadata files and nontransactional tables, atomic DDL, and automatic server-side upgrade work that formerly depended on `mysql_upgrade`. The 8.0 release notes list the GA line beginning with 8.0.11 on 2018-04-19 and running through 8.0.46, with the notes marking 8.0.46 as the April 2026 EOL point for the series.

### How it is used

For users, the Homebrew `@8.0` formula preserves access to the 8.0-compatible client command set: `mysql` for SQL sessions and scripts, `mysqldump` and `mysqlpump` for logical export workflows, `mysqladmin` for server operations, `mysqlcheck` for table maintenance, `mysqlbinlog` for binary log inspection, and helper programs such as `mysql_config_editor`. It is useful when applications, servers, or deployment policies remain pinned to the 8.0 protocol and tooling behavior rather than the unversioned client package.

### Sources

- <https://blogs.oracle.com/mysql/mysql-retrospective-the-early-years>
- <https://dev.mysql.com/doc/refman/5.7/en/programs-client.html>
- <https://dev.mysql.com/doc/refman/8.0/en/mysql-nutshell.html>
- <https://dev.mysql.com/doc/refman/8.0/en/mysqldump.html>
- <https://dev.mysql.com/doc/relnotes/mysql/8.0/en/>
- <https://formulae.brew.sh/formula/mysql-client@8.0>
- <https://www.oracle.com/corporate/pressrelease/oracle-buys-sun-042009.html>


## Security Notes

No matching local secret-handling manifest was found for mysql-client@8.0. Nucleus 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: /etc/my.cnf, /etc/mysql/my.cnf, SYSCONFDIR/my.cnf, ~/.my.cnf
- Windows: %WINDIR%\my.ini, %WINDIR%\my.cnf, C:\my.ini, C:\my.cnf, %APPDATA%\MySQL\.mylogin.cnf

## Credential files

- Unix: ~/.my.cnf, ~/.mylogin.cnf
- Windows: %APPDATA%\MySQL\.mylogin.cnf
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** mysql-client@8.0
- **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

- Ubuntu apt - mysql-client-8.0 - 8.0.36-2ubuntu3: normalized package name match | Ubuntu 24.04 LTS package indexes: mysql-client-8.0 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | MySQL database client binaries | http://dev.mysql.com/
- Ubuntu apt - mysql-client - 8.0.36-2ubuntu3: versioned package alias match | Ubuntu 24.04 LTS package indexes: mysql-client from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | MySQL database client (metapackage depending on the latest version) | http://dev.mysql.com/
- apk - mysql-client - 11.8.8-r0: versioned package alias match | Alpine Linux edge package indexes: mysql-client from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Dummy package for mysql-client migration | https://www.mariadb.org/
- zypper - mariadb-client - 11.8.8-1.1: versioned package alias match | openSUSE Tumbleweed package metadata: mariadb-client from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Client for MariaDB | https://www.mariadb.org


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Database and data packages](https://www.automicvault.com/pkg/database-data-tools/) - Matched database, SQL, migration, or data-store metadata.
- [libevent](https://www.automicvault.com/pkg/brew/libevent/) - Runtime dependency declared by Homebrew.
- [libfido2](https://www.automicvault.com/pkg/brew/libfido2/) - Runtime dependency declared by Homebrew.
- [openssl@3](https://www.automicvault.com/pkg/brew/openssl-3/) - Runtime dependency declared by Homebrew.
- [zstd](https://www.automicvault.com/pkg/brew/zstd/) - Runtime dependency declared by Homebrew.
- [bison](https://www.automicvault.com/pkg/brew/bison/) - Build dependency declared by Homebrew.
- [cmake](https://www.automicvault.com/pkg/brew/cmake/) - Build dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [mysql](https://www.automicvault.com/pkg/brew/mysql/) - Package name indicates the same formula family.
- [mysql@8.0](https://www.automicvault.com/pkg/brew/mysql-8-0/) - Package name indicates the same formula family.
- [mysql@8.4](https://www.automicvault.com/pkg/brew/mysql-8-4/) - Package name indicates the same formula family.

## Combined YAML source

View the package source record on GitHub. [combined/mysql-client@8.0.yml](https://github.com/automic-vault/db/blob/main/combined/mysql-client@8.0.yml)


## Sources

- Nucleus package database
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
