# mysql@8.0 を Homebrew, apt, apk, chocolatey, dnf, pacman, scoop, winget, zypper でインストール

mysql@8.0 のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

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

## エージェント安全性の回答

mysql@8.0 provides MySQL client/server tooling with database mutation authority.

- **認証情報アクセス:** Reads database passwords, option files, socket paths, and environment credentials.
- **リモート変更:** Can alter, drop, import, or export databases.
- **公開/成果物リスク:** Can create dumps or imports containing sensitive data.
- **推奨コントロール:** Gate destructive SQL, dumps, imports, and credential file access.
- **エージェント利用ガイダンス:** Allow safe metadata queries; require approval for writes, exports, and credential reads.

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install mysql@8.0
```

  証拠: local Homebrew formula metadata

### Linux

- Ubuntu apt (92%):

```sh
sudo apt install libmysqlclient-dev
```

  証拠: Ubuntu 24.04 LTS package indexes: libmysqlclient-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz

- apk (92%):

```sh
sudo apk add mysql
```

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

- dnf (92%):

```sh
sudo dnf install mysql
```

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

- Debian apt (92%):

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

  証拠: 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
```

  証拠: 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
```

  証拠: 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
```

  証拠: 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
```

  証拠: 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
```

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

## パッケージ情報

- **パッケージキー:** brew:mysql@8.0
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/mysql@8.0>
- **バージョン:** 8.0.46
- **ソース概要:** Open source relational database management system
- **ホームページ:** <https://github.com/mysql/mysql-server>
- **リポジトリ:** <https://github.com/mysql/mysql-server>
- **ライセンス:** GPL-2.0-only WITH Universal-FOSS-exception-1.0
- **ソースアーカイブ:** <https://cdn.mysql.com/Downloads/MySQL-8.0/mysql-boost-8.0.46.tar.gz>
- **最終更新:** 2026-08-04T13:11:24+01:00
- **生成日時:** 2026-08-04T22:13:35+00:00

## 依存関係

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

## ビルド依存関係

- bison
- cmake
- pkgconf

## macOS 提供ライブラリ

- curl
- cyrus-sasl
- libedit

## インストール挙動

- post-install フック: 未定義
- サービス: declared
- 注意点: 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: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 8.0.46
- マネージャ更新日: 2026-08-04
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/mysql/mysql-server
- 情報: No cached GitHub release or tag data was available.
## プロジェクトの歴史と使われ方

MySQL 8.0 is the long-lived 8.0 series of Oracle's MySQL Server. Its release notes trace the series from development milestone 8.0.0 on September 12, 2016, through general-availability 8.0.11 on April 19, 2018. The 8.0 reference manual lists major technical changes that made the series a substantial upgrade over 5.7, including a transactional data dictionary, atomic DDL, automatic upgrade work formerly handled by `mysql_upgrade`, roles, `caching_sha2_password` as the preferred/default authentication plugin, utf8mb4 as the default character set, common table expressions, window functions, JSON enhancements, invisible indexes, descending indexes, resource groups, and other optimizer, security, and InnoDB work.

### 使われ方

The package-manager role of `mysql@8.0` is preservation: it lets Homebrew users install the 8.0 branch separately from the unversioned `mysql` formula and from `mysql@8.4`. Homebrew marks the formula deprecated, keg-only, and tied to the 8.0.46 stable build, which matches Oracle's 8.0 release-notes line that covers changes through 8.0.46. It is useful where an application, connector, authentication behavior, upgrade path, or production compatibility policy still depends on the 8.0 series rather than the 8.4 LTS or newer Innovation/LTS model.

### ソース

- <https://dev.mysql.com/doc/refman/8.0/en/mysql-nutshell.html>
- <https://dev.mysql.com/doc/refman/8.4/en/mysql-releases.html>
- <https://dev.mysql.com/doc/relnotes/mysql/8.0/en/>
- <https://formulae.brew.sh/formula/mysql@8.0>


## セキュリティノート

mysql@8.0 に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ 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:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** mysql@8.0
- **Version Scheme:** 0
- **Revision:** 2
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** yes
- **Disabled:** no
- **Keg Only:** yes
- **URL Keys:** stable

## 他のパッケージマネージャ記録

- Ubuntu apt - libmysqlclient-dev - 8.0.36-2ubuntu3: normalized package name match | Ubuntu 24.04 LTS package indexes: libmysqlclient-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | MySQL database development files | http://dev.mysql.com/
- Ubuntu apt - libmysqlclient21 - 8.0.36-2ubuntu3: normalized package name match | Ubuntu 24.04 LTS package indexes: libmysqlclient21 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | MySQL database client library | http://dev.mysql.com/
- Ubuntu apt - mysql-client - 8.0.36-2ubuntu3: normalized package name 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/
- 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-core-8.0 - 8.0.36-2ubuntu3: normalized package name match | Ubuntu 24.04 LTS package indexes: mysql-client-core-8.0 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | MySQL database core client binaries | http://dev.mysql.com/
- Ubuntu apt - mysql-router - 8.0.36-2ubuntu3: normalized package name match | Ubuntu 24.04 LTS package indexes: mysql-router from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | route connections from MySQL clients to MySQL servers | https://dev.mysql.com/doc/mysql-router/8.0/en/
- Ubuntu apt - mysql-server - 8.0.36-2ubuntu3: normalized package name match | Ubuntu 24.04 LTS package indexes: mysql-server from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | MySQL database server (metapackage depending on the latest version) | http://dev.mysql.com/
- Ubuntu apt - mysql-server-8.0 - 8.0.36-2ubuntu3: normalized package name match | Ubuntu 24.04 LTS package indexes: mysql-server-8.0 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | MySQL database server binaries and system database setup | http://dev.mysql.com/
- Ubuntu apt - mysql-server-core-8.0 - 8.0.36-2ubuntu3: normalized package name match | Ubuntu 24.04 LTS package indexes: mysql-server-core-8.0 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | MySQL database server binaries | http://dev.mysql.com/
- Ubuntu apt - mysql-source-8.0 - 8.0.36-2ubuntu3: normalized package name match | Ubuntu 24.04 LTS package indexes: mysql-source-8.0 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | MySQL source | http://dev.mysql.com/
- Ubuntu apt - mysql-testsuite - 8.0.36-2ubuntu3: normalized package name match | Ubuntu 24.04 LTS package indexes: mysql-testsuite from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | MySQL regression tests | http://dev.mysql.com/
- Ubuntu apt - mysql-testsuite-8.0 - 8.0.36-2ubuntu3: normalized package name match | Ubuntu 24.04 LTS package indexes: mysql-testsuite-8.0 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | MySQL 8.0 testsuite | http://dev.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/


## 関連リンク

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


## ソース

- 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
