Automic VaultAutomic Vault

brew

使用 Homebrew, apk, chocolatey, dnf, apt, pacman, scoop, winget, zypper 安装 mysql

查看 mysql 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

代理安全

代理安全回答

mysql provides client and server tooling that can read or mutate databases.

凭据访问

Reads database passwords, option files, client config, and environment credentials.

远程变更

Can create, drop, alter, and export databases on reachable servers.

发布/制品风险

Can dump or import data artifacts that may contain sensitive records.

推荐控制

Gate destructive SQL, dumps, imports, and credential file access.

代理使用指南

Allow schema inspection on safe targets; require approval for writes, dumps, and credential reads.

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install mysql

local Homebrew formula metadata

Linux

Alpine Linux apk已验证 · 92%
sudo apk add mysql

Alpine Linux edge package indexes · mysql · 来源: dl-cdn.alpinelinux.org

Fedora dnf已验证 · 92%
sudo dnf install mysql

Fedora Rawhide package metadata · mysql · 来源: dl.fedoraproject.org

Debian apt已验证 · 92%
sudo apt install libmysql++-dev

Debian stable package indexes · libmysql++-dev · 来源: deb.debian.org

Arch Linux pacman已验证 · 92%
sudo pacman -S mariadb

Arch Linux sync databases · mariadb · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install mariadb

openSUSE Tumbleweed package metadata · mariadb · 来源: download.opensuse.org

Windows

Chocolatey已验证 · 92%
choco install mysql

Chocolatey community package catalog · mysql · 来源: community.chocolatey.org

Scoop已验证 · 92%
scoop install main/mysql

Scoop official bucket manifest trees · bucket/mysql.json · 来源: api.github.com

Windows Package Manager已验证 · 92%
winget install --id Oracle.MySQL -e

Windows Package Manager source index · Oracle.MySQL · 来源: cdn.winget.microsoft.com

概览

软件包摘要

Open source relational database management system

命令和别名

  • comp_err
  • ibd2sdi
  • mysql_config_editor
  • mysql_keyring_encryption_test
  • mysql_migrate_keyring
  • mysql_test_event_tracking
  • mysqlrouter
  • mysqlrouter_bootstrap
  • mysqlrouter_keyring
  • mysqlrouter_mrs_client
  • mysqlrouter_passwd
  • mysqlrouter_plugin_info
  • mysqltest_safe_process
  • mysqlxtest

历史

项目历史与用法

MySQL is an open-source relational database management system that grew out of work by Michael "Monty" Widenius, David Axmark, and Allan Larsson. Oracle's manual says the team first intended to use mSQL with its own ISAM routines, then built a new SQL interface after finding mSQL too slow or inflexible; the name comes from Widenius's daughter, My. MySQL AB was founded in Sweden in 1995, the project adopted GPL distribution in 2000, and Sun Microsystems acquired MySQL AB in 2008 before Oracle acquired Sun.

项目历史

The system became one of the defining databases of the LAMP stack: MySQL Server provides a multithreaded SQL server, client programs and libraries, administrative tools, and APIs, and it can be used as a client/server database or embedded library. Its ecosystem role was shaped by web deployment, dual licensing, and storage-engine evolution, including InnoDB's rise as the transactional backend. Oracle's customer pages list users across media, ecommerce, financial services, technology, telecom, education, and manufacturing, with named examples such as YouTube, GitHub, Uber, Square, BBC, Spotify, Airbus/EADS, Boeing, and the University of Toronto.

使用方式

In package-manager terms, Homebrew's unversioned `mysql` formula follows the active upstream server line and installs the server plus common client and administrative programs such as `mysql`, `mysqld`, `mysqldump`, `mysqladmin`, and `mysql_secure_installation`. Homebrew also keeps versioned formulae such as `mysql@8.4` and `mysql@8.0`, and the main formula notes conflicts with MariaDB and Percona Server, reflecting MySQL's long-standing relationship with compatible forks and alternative server distributions.

安全态势

风险级别:orange

broad file, network, media, or database tool signal. formula declares a Homebrew service.

风险分类器

orange 风险 · 中 置信度 · infrastructure

原因

  • broad file, network, media, or database tool signal
  • formula declares a Homebrew service

信号

  • metadata:service
  • text:encrypt,database,sql,client,server

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • formula 元数据声明了服务或守护进程块。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 7 个运行时依赖。
  • 构建元数据列出 3 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

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

Config paths the tool may read or write during local use.

Unix
~/.my.cnf

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
~/.my.cnf

可执行文件

已安装的可执行文件

命令类型暴露范围备注
comp_errcli全局可执行文件
ibd2sdicli全局可执行文件
mysql_config_editorcli全局可执行文件
mysql_keyring_encryption_testcli全局可执行文件
mysql_migrate_keyringcli全局可执行文件
mysql_test_event_trackingcli全局可执行文件
mysqlroutercli全局可执行文件
mysqlrouter_bootstrapcli全局可执行文件
mysqlrouter_keyringcli全局可执行文件
mysqlrouter_mrs_clientcli全局可执行文件
mysqlrouter_passwdcli全局可执行文件
mysqlrouter_plugin_infocli全局可执行文件
mysqltest_safe_processcli全局可执行文件
mysqlxtestcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本9.7.1
管理器更新时间2026-07-07
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/mysql/mysql-server

安装元数据

软件包元数据

软件包键brew:mysql
版本9.7.1
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/mysql
主页https://github.com/mysql/mysql-server
仓库https://github.com/mysql/mysql-server
上游文档https://dev.mysql.com/doc
许可证GPL-2.0-only WITH Universal-FOSS-exception-1.0
源码归档https://cdn.mysql.com/Downloads/MySQL-9.7/mysql-9.7.1.tar.gz
最后更新2026-07-07T02:23:24Z
Pulseupdated
依赖abseil, icu4c@78, lz4, openssl@3, protobuf, zlib-ng-compat, zstd
构建依赖bison, cmake, pkgconf
macOS 提供的库curl, cyrus-sasl, libedit
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew 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

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namemysql
Aliases
  • mysql@9.7
Version Scheme0
Revision0
Conflicts With
  • mariadb
  • percona-server
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

libmysql++-dev 3.2.5-2.3+b1

MySQL C++ library bindings (development)

https://tangentsoft.net/mysqlpp/

sudo apt install libmysql++-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: mysql++
  • 2 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Mysql
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libmysql++-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libmysql++-doc 3.2.5-2.3

MySQL C++ library bindings (documentation and examples)

https://tangentsoft.net/mysqlpp/

sudo apt install libmysql++-doc
  • Section: doc
  • Architecture: all
  • Source Package: mysql++
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Mysql
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libmysql++-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libmysql++3t64 3.2.5-2.3+b1

MySQL C++ library bindings (runtime)

https://tangentsoft.net/mysqlpp/

sudo apt install libmysql++3t64
  • Section: libs
  • Architecture: amd64
  • Source Package: mysql++
  • 4 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Mysql
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libmysql++3t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt95%

libmysql++-dev 3.2.5-2.3

MySQL C++ library bindings (development)

https://tangentsoft.net/mysqlpp/

sudo apt install libmysql++-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: mysql++
  • 2 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Mysql
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libmysql++-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libmysql++-doc 3.2.5-2.3

MySQL C++ library bindings (documentation and examples)

https://tangentsoft.net/mysqlpp/

sudo apt install libmysql++-doc
  • Section: universe/doc
  • Architecture: all
  • Source Package: mysql++
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Mysql
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libmysql++-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libmysql++3t64 3.2.5-2.3

MySQL C++ library bindings (runtime)

https://tangentsoft.net/mysqlpp/

sudo apt install libmysql++3t64
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: mysql++
  • 4 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Mysql
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libmysql++3t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

mysql 11.8.8-r0

Dummy package for mysql migration

https://www.mariadb.org/

sudo apk add mysql
  • License: GPL-2.0-only
  • Architecture: x86_64
  • Source Package: mariadb
  • 1 依赖
  • normalized package name match
  • 匹配方式:Mysql
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: mysql from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

mysql 8.4.9-3.fc45

MySQL client programs and shared libraries

http://www.mysql.com

sudo dnf install mysql
  • License: GPL-2.0-only AND ( GPL-2.0-only WITH Universal-FOSS-exception-1.0 ) AND GPL-2.0-or-later AND ( LGPL-2.0-only WITH Universal-FOSS-exception-1.0 ) AND (
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: mysql8.4
  • 15 依赖
  • 4 提供
  • normalized package name match
  • 匹配方式:Mysql
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: mysql from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

mysql++ 3.3.0-12.fc44

C++ wrapper for the MySQL C API

https://tangentsoft.com/mysqlpp/home

sudo dnf install mysql++
  • License: LGPL-2.1-or-later
  • Category: Unspecified
  • Architecture: i686
  • Source Package: mysql++
  • 5 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Mysql
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: mysql++ from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

mysql++-devel 3.3.0-12.fc44

MySQL++ developer files (headers, examples, etc.)

https://tangentsoft.com/mysqlpp/home

sudo dnf install mysql++-devel
  • License: LGPL-2.1-or-later
  • Category: Unspecified
  • Architecture: i686
  • Source Package: mysql++
  • 3 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Mysql
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: mysql++-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

mysql++-manuals 3.3.0-12.fc44

MySQL++ user and reference manuals

https://tangentsoft.com/mysqlpp/home

sudo dnf install mysql++-manuals
  • License: LGPL-2.1-or-later AND LicenseRef-LDPL
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: mysql++
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Mysql
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: mysql++-manuals from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

mariadb 12.3.2-2

Fast SQL database server, derived from MySQL

https://mariadb.org/

sudo pacman -S mariadb
  • License: GPL-2.0-only
  • Architecture: x86_64
  • 13 依赖
  • 2 提供
  • 9 可选依赖
  • normalized package name match
  • 匹配方式:Mysql
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: mariadb from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
pacman95%

mariadb-lts 11.8.8-1

Fast SQL database server, derived from MySQL (LTS)

https://mariadb.org/

sudo pacman -S mariadb-lts
  • License: GPL-2.0-only
  • Architecture: x86_64
  • 13 依赖
  • 3 提供
  • 9 可选依赖
  • normalized package name match
  • 匹配方式:Mysql
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: mariadb-lts from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
pacman95%

mysql++ 3.3.0-2

A C++ wrapper for MySQLs C API

http://tangentsoft.net/mysql++/

sudo pacman -S mysql++
  • License: LGPL AND custom
  • Architecture: x86_64
  • 1 依赖
  • normalized package name match
  • 匹配方式:Mysql
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: mysql++ from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

mariadb 11.8.8-1.1

Server part of MariaDB

https://www.mariadb.org

sudo zypper install mariadb
  • License: SUSE-GPL-2.0-with-FLOSS-exception
  • Category: Productivity/Databases/Servers
  • Architecture: x86_64
  • Source Package: mariadb
  • 32 依赖
  • 9 提供
  • normalized package name match
  • 匹配方式:Mysql
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: mariadb from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
Chocolatey95%

mysql

choco install mysql
  • normalized package name match
  • 匹配方式:Mysql
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: mysql from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','ms-reportviewer2015'

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated agent safety answer
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment