Automic VaultAutomic Vault

brew

mariadb-connector-c を Homebrew, apk, dnf, Nix, pacman, zypper でインストール

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

インストール

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

macOS

Homebrew確認済み · 100%
brew install mariadb-connector-c

local Homebrew formula metadata

Linux

Alpine Linux apk確認済み · 92%
sudo apk add mariadb-connector-c

Alpine Linux edge package indexes · mariadb-connector-c · ソース: dl-cdn.alpinelinux.org

Fedora dnf確認済み · 92%
sudo dnf install mariadb-connector-c

Fedora Rawhide package metadata · mariadb-connector-c · ソース: dl.fedoraproject.org

Nix確認済み · 92%
nix profile install nixpkgs#mariadb-connector-c

nixpkgs package indexes · mariadb-connector-c · ソース: raw.githubusercontent.com

Arch Linux pacman確認済み · 92%
sudo pacman -S mariadb-libs

Arch Linux sync databases · mariadb-libs · ソース: geo.mirror.pkgbuild.com

openSUSE zypper確認済み · 92%
sudo zypper install libmariadb-devel

openSUSE Tumbleweed package metadata · libmariadb-devel · ソース: download.opensuse.org

概要

パッケージ概要

MariaDB database connector for C applications

コマンドとエイリアス

  • mysql_config

履歴

プロジェクトの歴史と使われ方

MariaDB Connector/C is the C client library for applications that connect to MariaDB and MySQL-compatible servers. In package-manager terms it is the small but important client-side piece that many native programs need at build time or runtime, especially when replacing Oracle MySQL client libraries with MariaDB's LGPL client stack.

プロジェクトの歴史

The connector descends from the MariaDB Client Library for C and was later branded as MariaDB Connector/C. MariaDB's own release notes describe Connector/C 3.0.0 in January 2016 as an alpha of the renamed client library, while the 2.3 series remained a stable GA line in 2016. The project is maintained separately from the server tree at the official MariaDB Corporation GitHub repository.

MariaDB documents Connector/C as the library used to connect C and C++ applications to MariaDB and MySQL databases, under the LGPLv2.1 license. That licensing and source split made it attractive to distributions and build systems that wanted a client library without depending on a full server installation.

採用の歴史

Connector/C spread through operating-system packaging because many database-aware programs need headers, mariadb_config or mysql_config compatibility, and libmariadb at compile or link time. MariaDB's Debian 10 announcement notes that Debian shipped MariaDB 10.3 with Connector/C 3.0 and that packages formerly depending on legacy MySQL/MariaDB client libraries moved to libmariadb3 from LGPL-licensed Connector/C.

For Homebrew users, the separate mariadb-connector-c formula is useful when a package needs the C client library and build metadata but not a local MariaDB server. It also provides mysql_config compatibility for software that still expects MySQL-flavored discovery commands.

使われ方

Typical use is indirect: install the package, let build tools find mariadb_config or mysql_config, and link software against libmariadb. Application developers can also use Connector/C's option-file support so clients read the same my.cnf-style defaults as other MariaDB and MySQL command-line clients.

Because Connector/C can read default or custom option files, package users should treat my.cnf locations as both configuration and possible credential locations when client option groups contain user, password, TLS key, or passphrase settings.

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

Package maintainers care about Connector/C because it decouples client-library packaging from the database server and preserves MySQL C API compatibility names. It is the package that often fixes builds of database clients, language bindings, monitoring tools, and older autotools projects looking for mysql_config.

The Homebrew formula is especially convenient on developer workstations: it gives native builds a MariaDB/MySQL-compatible client library without starting a daemon or pulling in server administration tools.

タイムライン

  • 2015: Connector/C 2.2.1 was documented as a stable GA release of the MariaDB Client Library for C.
  • 2016: Connector/C 3.0.0 appeared as an alpha of the renamed MariaDB Connector/C.
  • 2016: Connector/C 2.3.0 was a stable GA release of the client library.
  • 2017: Connector/C 3.0.2 reached stable GA status.
  • 2019: Debian 10 shipped MariaDB 10.3 with MariaDB Connector/C 3.0 and libmariadb3.
  • 2026: MariaDB Connector/C 3.4.9 release notes document the continuing stable 3.4 series.

Related projects

  • MariaDB Server is the database server most closely associated with Connector/C.
  • MySQL-compatible applications and language bindings often use Connector/C through libmariadb or mysql_config-compatible discovery.
  • MariaDB Connector/J, Connector/ODBC, and Connector/C++ are sibling connector projects for other client APIs.

ソース

セキュリティ状態

保護ツール対応はまだ見つかっていません

mariadb-connector-c に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 6 個のプラットフォームターゲットで利用できます。
  • 2 件の実行時依存関係とともにインストールされます。
  • ビルドメタデータには 1 件のビルド依存関係があります。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

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
/etc/my.cnf/etc/mysql/my.cnf$MARIADB_HOME/my.cnf$MYSQL_HOME/my.cnf~/.my.cnf
Windows
System Windows Directory\my.iniSystem Windows Directory\my.cnfWindows Directory\my.iniWindows Directory\my.cnfC:\my.iniC:\my.cnfinstalldir\my.iniinstalldir\my.cnfinstalldir\data\my.iniinstalldir\data\my.cnf%MARIADB_HOME%\my.ini%MARIADB_HOME%\my.cnf%MYSQL_HOME%\my.ini%MYSQL_HOME%\my.cnf

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
/etc/my.cnf/etc/mysql/my.cnf$MARIADB_HOME/my.cnf$MYSQL_HOME/my.cnf~/.my.cnf
Windows
System Windows Directory\my.iniSystem Windows Directory\my.cnfWindows Directory\my.iniWindows Directory\my.cnfC:\my.iniC:\my.cnfinstalldir\my.iniinstalldir\my.cnfinstalldir\data\my.iniinstalldir\data\my.cnf%MARIADB_HOME%\my.ini%MARIADB_HOME%\my.cnf%MYSQL_HOME%\my.ini%MYSQL_HOME%\my.cnf

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
mysql_configcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-10
マネージャ版3.4.9
マネージャ更新日2026-06-11
ローカルデータOK
上流not checked
検出された最新未検出

https://mariadb.org/download/?tab=connector&prod=connector-c

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:mariadb-connector-c
バージョン3.4.9
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/mariadb-connector-c
ホームページhttps://mariadb.org/download/?tab=connector&prod=connector-c
リポジトリhttps://github.com/mariadb-corporation/mariadb-connector-c
上流ドキュメントhttps://mariadb.com/docs/connectors/mariadb-connector-c
ライセンスLGPL-2.1-or-later
ソースアーカイブhttps://archive.mariadb.org/connector-c-3.4.9/mariadb-connector-c-3.4.9-src.tar.gz
最終更新2026-06-11T10:47:01Z
Pulseupdated
依存関係openssl@3, zstd
ビルド依存関係cmake
macOS 提供ライブラリcurl, krb5
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namemariadb-connector-c
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyyes
URL Keys
  • head
  • stable

ソースデータベース一致

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

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Nix95%

mariadb-connector-c

nix profile install nixpkgs#mariadb-connector-c
  • normalized package name match
  • 一致条件: Mariadb Connector C
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: mariadb-connector-c from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
apk95%

mariadb-connector-c 3.4.6-r0

The MariaDB Native Client library (C driver)

https://mariadb.org/

sudo apk add mariadb-connector-c
  • License: LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: mariadb-connector-c
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Mariadb Connector C
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: mariadb-connector-c from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

mariadb-connector-c-dev 3.4.6-r0

The MariaDB Native Client library (C driver) (development files)

https://mariadb.org/

sudo apk add mariadb-connector-c-dev
  • License: LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: mariadb-connector-c
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Mariadb Connector C
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: mariadb-connector-c-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

mariadb-connector-c 3.4.8-3.fc44

The MariaDB Native Client library (C driver)

http://mariadb.org/

sudo dnf install mariadb-connector-c
  • License: LGPL-2.1-or-later AND PHP-3.0 AND PHP-3.01
  • Category: Unspecified
  • Architecture: i686
  • Source Package: mariadb-connector-c
  • 11 依存関係
  • 2 提供
  • normalized package name match
  • 一致条件: Mariadb Connector C
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: mariadb-connector-c from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

mariadb-connector-c-config 3.4.8-3.fc44

Configuration files for packages that use /etc/my.cnf as a configuration file

http://mariadb.org/

sudo dnf install mariadb-connector-c-config
  • License: LGPL-2.1-or-later AND PHP-3.0 AND PHP-3.01
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: mariadb-connector-c
  • 2 提供
  • normalized package name match
  • 一致条件: Mariadb Connector C
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: mariadb-connector-c-config from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

mariadb-connector-c-devel 3.4.8-3.fc44

Development files for mariadb-connector-c

http://mariadb.org/

sudo dnf install mariadb-connector-c-devel
  • License: LGPL-2.1-or-later AND PHP-3.0 AND PHP-3.01
  • Category: Unspecified
  • Architecture: i686
  • Source Package: mariadb-connector-c
  • 7 依存関係
  • 2 提供
  • normalized package name match
  • 一致条件: Mariadb Connector C
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: mariadb-connector-c-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

mariadb-connector-c-doc 3.4.8-3.fc44

Manual pages documenting API of the libmariadb.so library

http://mariadb.org/

sudo dnf install mariadb-connector-c-doc
  • License: LGPL-2.1-or-later AND PHP-3.0 AND PHP-3.01
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: mariadb-connector-c
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Mariadb Connector C
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: mariadb-connector-c-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

mariadb-connector-c-test 3.4.8-3.fc44

Testsuite files for mariadb-connector-c

http://mariadb.org/

sudo dnf install mariadb-connector-c-test
  • License: LGPL-2.1-or-later AND PHP-3.0 AND PHP-3.01
  • Category: Unspecified
  • Architecture: i686
  • Source Package: mariadb-connector-c
  • 9 依存関係
  • 2 提供
  • normalized package name match
  • 一致条件: Mariadb Connector C
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: mariadb-connector-c-test from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

mariadb-libs 12.3.2-2

MariaDB libraries

https://mariadb.org/

sudo pacman -S mariadb-libs
  • License: GPL-2.0-only
  • Architecture: x86_64
  • 13 依存関係
  • 4 提供
  • 1 任意依存関係
  • normalized package name match
  • 一致条件: Mariadb Connector C
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: mariadb-libs from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
pacman95%

mariadb-lts-libs 11.8.8-1

MariaDB libraries (LTS)

https://mariadb.org/

sudo pacman -S mariadb-lts-libs
  • License: GPL-2.0-only
  • Architecture: x86_64
  • 13 依存関係
  • 5 提供
  • 1 任意依存関係
  • normalized package name match
  • 一致条件: Mariadb Connector C
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: mariadb-lts-libs from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

libmariadb-devel 3.4.8-1.1

Development files for the MariaDB Connector C API

https://github.com/MariaDB/mariadb-connector-c

sudo zypper install libmariadb-devel
  • License: LGPL-2.1-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: mariadb-connector-c
  • 4 依存関係
  • 4 提供
  • normalized package name match
  • 一致条件: Mariadb Connector C
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libmariadb-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

libmariadb3 3.4.8-1.1

MariaDB connector in C

https://github.com/MariaDB/mariadb-connector-c

sudo zypper install libmariadb3
  • License: LGPL-2.1-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: mariadb-connector-c
  • 6 依存関係
  • 2 提供
  • normalized package name match
  • 一致条件: Mariadb Connector C
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libmariadb3 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

libmariadb3-32bit 3.4.8-1.1

MariaDB connector in C

https://github.com/MariaDB/mariadb-connector-c

sudo zypper install libmariadb3-32bit
  • License: LGPL-2.1-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: mariadb-connector-c
  • 6 依存関係
  • 3 提供
  • normalized package name match
  • 一致条件: Mariadb Connector C
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libmariadb3-32bit from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

libmariadb_plugins 3.4.8-1.1

Plugins for the MariaDB C Connector

https://github.com/MariaDB/mariadb-connector-c

sudo zypper install libmariadb_plugins
  • License: LGPL-2.1-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: mariadb-connector-c
  • 6 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Mariadb Connector C
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libmariadb_plugins from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

libmariadbprivate 3.4.8-1.1

Additional internal libraries for the MariaDB C Connector

https://github.com/MariaDB/mariadb-connector-c

sudo zypper install libmariadbprivate
  • License: LGPL-2.1-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: mariadb-connector-c
  • 6 依存関係
  • 2 提供
  • normalized package name match
  • 一致条件: Mariadb Connector C
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libmariadbprivate from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

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