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

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

## インストール

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

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

### macOS

- Homebrew (100%):

```sh
brew install mysql@9.7
```

  証拠: local Homebrew formula metadata

### Linux

- 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/652278618dec9c023176a80c435a32a2c8154869fb0eb662c267a54df28d77d9-primary.xml.zst

- 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

- 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/d310d5a96106e1e8872a385adf98aaa23be9db5d80937a6717314e7e7f37715065c6c748ab7ccee6475d620b46979c0fe64235fc0c46988e17edf659578fcf31-primary.xml.zst

### Windows

- Chocolatey (92%):

```sh
choco install mysql
```

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

- 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@9.7
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/mysql@9.7>
- **バージョン:** 9.7.4
- **ソース概要:** 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-9.7/mysql-9.7.4.tar.gz>
- **最終更新:** 2026-10-25T02:16:23Z
- **生成日時:** 2026-11-04T12:20:42+00:00

## 依存関係

- abseil
- icu4c@79
- libfido2
- lz4
- openssl@4
- protobuf
- zlib-ng-compat
- zstd

## ビルド依存関係

- bison
- cmake
- pkgconf

## macOS 提供ライブラリ

- curl
- cyrus-sasl
- krb5
- 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. Upgrading from MySQL <8.4 to MySQL >9.0 requires running MySQL 8.4 first: - brew services stop mysql - brew install mysql@8.4 - brew services start mysql@8.4 - brew services stop mysql@8.4 - brew services start mysql 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_golden_gate, arm64_linux, arm64_sequoia, arm64_tahoe, x86_64_linux

## バージョンと鮮度

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

MySQL is an open-source relational database management system; this versioned Homebrew formula includes the 9.7 server, clients, administration utilities, router, and supporting tools.

### プロジェクトの歴史

MySQL was founded in 1995 as an open-source relational database. Sun Microsystems acquired MySQL AB in 2008, and Oracle became its steward through the 2010 acquisition of Sun. Oracle continues to publish the server, clients, source code, and reference manuals.

### 採用の歴史

MySQL became one of the defining databases of the web application stack and remains broadly available from operating-system, container, cloud, and language package ecosystems. Its protocol and tooling also shaped a wider compatibility ecosystem.

### 使われ方

Users run `mysqld` as the database service and use `mysql` and companion programs for queries, administration, backups, imports, checks, routing, and diagnostics. Production use requires deliberate management of configuration, credentials, data storage, backups, service startup, and version upgrades.

### パッケージ好きにとっての重要性

MySQL packaging exposes recurring database-maintenance concerns: service lifecycle, data-directory ownership, upgrade compatibility, configuration precedence, client/server splits, versioned formulae, and conflicts with compatible alternatives. Homebrew's versioned formula lets users deliberately track the 9.7 innovation release rather than another MySQL line.

### タイムライン

- 1995: MySQL was founded.
- 2008: Sun Microsystems acquired MySQL AB.
- 2010: Oracle acquired Sun Microsystems and became MySQL's steward.
- 2026: MySQL 9.7 is distributed as a versioned Homebrew innovation-series formula.

### Related projects

- MariaDB originated as a MySQL-compatible alternative and is substituted for MySQL package names by some distributions. MySQL Client is the client-only companion package, while MySQL Router provides routing for distributed deployments.

### ソース

- <https://dev.mysql.com/doc/refman/9.7/en/>
- <https://github.com/mysql/mysql-server>
- <https://www.mysql.com/news-and-events/events/mysql-30th/>


## セキュリティノート

mysql@9.7 に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ 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, $MYSQL_HOME/my.cnf, ~/.my.cnf, DATADIR/mysqld-auto.cnf
- Windows: %WINDIR%\my.ini, %WINDIR%\my.cnf, C:\my.ini, C:\my.cnf, BASEDIR\my.ini, BASEDIR\my.cnf, C:\ProgramData\MySQL\MySQL Server 9.7\my.ini, DATADIR\mysqld-auto.cnf

## Credential files

- Unix: ~/.mylogin.cnf
- Windows: %APPDATA%\MySQL\.mylogin.cnf
## ソースデータベース詳細

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

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

- dnf - mysql - 9.7.2-1.fc45: package manager index match | Fedora Rawhide package metadata: mysql from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/652278618dec9c023176a80c435a32a2c8154869fb0eb662c267a54df28d77d9-primary.xml.zst | MySQL client programs and shared libraries | http://www.mysql.com
- dnf - mysql-common - 9.7.2-1.fc45: package manager index match | Fedora Rawhide package metadata: mysql-common from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/652278618dec9c023176a80c435a32a2c8154869fb0eb662c267a54df28d77d9-primary.xml.zst | The shared files required for MySQL server and client | http://www.mysql.com
- dnf - mysql-devel - 9.7.2-1.fc45: package manager index match | Fedora Rawhide package metadata: mysql-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/652278618dec9c023176a80c435a32a2c8154869fb0eb662c267a54df28d77d9-primary.xml.zst | Files for development of MySQL applications | http://www.mysql.com
- dnf - mysql-errmsg - 9.7.2-1.fc45: package manager index match | Fedora Rawhide package metadata: mysql-errmsg from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/652278618dec9c023176a80c435a32a2c8154869fb0eb662c267a54df28d77d9-primary.xml.zst | The error messages files required by MySQL server | http://www.mysql.com
- dnf - mysql-libs - 9.7.2-1.fc45: package manager index match | Fedora Rawhide package metadata: mysql-libs from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/652278618dec9c023176a80c435a32a2c8154869fb0eb662c267a54df28d77d9-primary.xml.zst | The shared libraries required for MySQL clients | http://www.mysql.com
- dnf - mysql-server - 9.7.2-1.fc45: package manager index match | Fedora Rawhide package metadata: mysql-server from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/652278618dec9c023176a80c435a32a2c8154869fb0eb662c267a54df28d77d9-primary.xml.zst | The MySQL server and related files | http://www.mysql.com
- dnf - mysql-test - 9.7.2-1.fc45: package manager index match | Fedora Rawhide package metadata: mysql-test from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/652278618dec9c023176a80c435a32a2c8154869fb0eb662c267a54df28d77d9-primary.xml.zst | The test suite distributed with MySQL | http://www.mysql.com
- dnf - mysql-test-data - 9.7.2-1.fc45: package manager index match | Fedora Rawhide package metadata: mysql-test-data from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/652278618dec9c023176a80c435a32a2c8154869fb0eb662c267a54df28d77d9-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/
- dnf - mysql++ - 3.3.0-13.fc45: versioned package alias match | Fedora Rawhide package metadata: mysql++ from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/652278618dec9c023176a80c435a32a2c8154869fb0eb662c267a54df28d77d9-primary.xml.zst | C++ wrapper for the MySQL C API | https://tangentsoft.com/mysqlpp/home


## 関連リンク

- [Source-control packages](https://pkg.so/ja/source-control-tools/) - Belongs to a source-control command family.
- [Networking and protocol packages](https://pkg.so/ja/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Database and data packages](https://pkg.so/ja/database-data-tools/) - Matched database, SQL, migration, or data-store metadata.
- [mysql@8.4](https://pkg.so/ja/brew/mysql-8-4/) - Choose MySQL 8.4 when a fixed LTS feature set and longer support period are preferable to the faster 9.7 Innovation cadence.

  ソース: <https://dev.mysql.com/doc/refman/8.4/en/mysql-releases.html> · <https://dev.mysql.com/doc/refman/9.7/en/mysql-releases.html>
- [mariadb@11.8](https://pkg.so/ja/brew/mariadb-11-8/) - Choose MariaDB 11.8 when a MySQL-compatible LTS implementation is acceptable and its documented differences have been tested with the application.

  ソース: <https://mariadb.org/11-8-lts-released/> · <https://mariadb.com/docs/release-notes/community-server/about/compatibility-and-differences/mariadb-vs-mysql-compatibility>
- [mysqltuner](https://pkg.so/ja/brew/mysqltuner/) - MySQLTuner supports the MySQL 9.7 line and can assess configuration, status, capacity, performance, and security after the server has accumulated representative traffic.

  ソース: <https://github.com/jmrenouard/MySQLTuner-perl> · <https://github.com/jmrenouard/MySQLTuner-perl/blob/master/USAGE.md>

## Combined YAML source

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


## ソース

- pkg.so 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
