Automic VaultAutomic Vault

brew

Install mariadb-connector-c with Homebrew, apk, dnf, Nix, pacman, zypper

MariaDB database connector for C applications. Version 3.4.9 via Homebrew; verified 2026-06-11.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install mariadb-connector-c

local Homebrew formula metadata

Linux

Alpine Linux apkverified · 92%
sudo apk add mariadb-connector-c

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

Fedora dnfverified · 92%
sudo dnf install mariadb-connector-c

Fedora Rawhide package metadata · mariadb-connector-c · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#mariadb-connector-c

nixpkgs package indexes · mariadb-connector-c · source: raw.githubusercontent.com

Arch Linux pacmanverified · 92%
sudo pacman -S mariadb-libs

Arch Linux sync databases · mariadb-libs · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install libmariadb-devel

openSUSE Tumbleweed package metadata · libmariadb-devel · source: download.opensuse.org

overview

Package summary

MariaDB database connector for C applications

Commands and aliases

  • mysql_config

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 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.

Sources

security posture

No protected-tool coverage found yet

No matching local secret-handling manifest was found for mariadb-connector-c. Nucleus package metadata is still published here so future coverage has a stable package URL.

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 2 runtime dependencies.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

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

executables

Installed executables

CommandKindExposureNote
mysql_configcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version3.4.9
manager updated2026-06-11
local dataok
upstreamnot checked
latest detectednot detected

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

install metadata

Package metadata

Package keybrew:mariadb-connector-c
Version3.4.9
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/mariadb-connector-c
Homepagehttps://mariadb.org/download/?tab=connector&prod=connector-c
Repositoryhttps://github.com/mariadb-corporation/mariadb-connector-c
Upstream docshttps://mariadb.com/docs/connectors/mariadb-connector-c
LicenseLGPL-2.1-or-later
Source archivehttps://archive.mariadb.org/connector-c-3.4.9/mariadb-connector-c-3.4.9-src.tar.gz
Last updated2026-06-11T10:47:01Z
Pulseupdated
Dependenciesopenssl@3, zstd
Build dependenciescmake
Uses from macOScurl, krb5
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

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

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

mariadb-connector-c

nix profile install nixpkgs#mariadb-connector-c
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: 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 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • 4 provides
  • 1 optional deps
  • normalized package name match
  • Matched by: 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 dependencies
  • 5 provides
  • 1 optional deps
  • normalized package name match
  • Matched by: 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 dependencies
  • 4 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • 3 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: 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

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • 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