macOS
brew install mariadb-connector-clocal Homebrew formula metadata
brew
MariaDB database connector for C applications. Version 3.4.9 via Homebrew; verified 2026-06-11.
install
brew install mariadb-connector-clocal Homebrew formula metadata
sudo apk add mariadb-connector-cAlpine Linux edge package indexes · mariadb-connector-c · source: dl-cdn.alpinelinux.org
sudo dnf install mariadb-connector-cFedora Rawhide package metadata · mariadb-connector-c · source: dl.fedoraproject.org
nix profile install nixpkgs#mariadb-connector-cnixpkgs package indexes · mariadb-connector-c · source: raw.githubusercontent.com
sudo pacman -S mariadb-libsArch Linux sync databases · mariadb-libs · source: geo.mirror.pkgbuild.com
sudo zypper install libmariadb-developenSUSE Tumbleweed package metadata · libmariadb-devel · source: download.opensuse.org
overview
MariaDB database connector for C applications
history
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.
security posture
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.
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
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.
Config paths the tool may read or write during local use.
/etc/my.cnf/etc/mysql/my.cnf$MARIADB_HOME/my.cnf$MYSQL_HOME/my.cnf~/.my.cnfSystem 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.cnfCredential-bearing paths to review before unattended agent runs.
/etc/my.cnf/etc/mysql/my.cnf$MARIADB_HOME/my.cnf$MYSQL_HOME/my.cnf~/.my.cnfSystem 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.cnfexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
mysql_config | cli | global executable |
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.
https://mariadb.org/download/?tab=connector&prod=connector-c
install metadata
| Package key | brew:mariadb-connector-c |
|---|---|
| Version | 3.4.9 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/mariadb-connector-c |
| Homepage | https://mariadb.org/download/?tab=connector&prod=connector-c |
| Repository | https://github.com/mariadb-corporation/mariadb-connector-c |
| Upstream docs | https://mariadb.com/docs/connectors/mariadb-connector-c |
| License | LGPL-2.1-or-later |
| Source archive | https://archive.mariadb.org/connector-c-3.4.9/mariadb-connector-c-3.4.9-src.tar.gz |
| Last updated | 2026-06-11T10:47:01Z |
| Pulse | updated |
| Dependencies | openssl@3, zstd |
| Build dependencies | cmake |
| Uses from macOS | curl, krb5 |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | mariadb-connector-c |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | yes |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
mariadb-connector-c
nix profile install nixpkgs#mariadb-connector-cmariadb-connector-c 3.4.6-r0
The MariaDB Native Client library (C driver)
sudo apk add mariadb-connector-cmariadb-connector-c-dev 3.4.6-r0
The MariaDB Native Client library (C driver) (development files)
sudo apk add mariadb-connector-c-devmariadb-connector-c 3.4.8-3.fc44
The MariaDB Native Client library (C driver)
sudo dnf install mariadb-connector-cmariadb-connector-c-config 3.4.8-3.fc44
Configuration files for packages that use /etc/my.cnf as a configuration file
sudo dnf install mariadb-connector-c-configmariadb-connector-c-devel 3.4.8-3.fc44
Development files for mariadb-connector-c
sudo dnf install mariadb-connector-c-develmariadb-connector-c-doc 3.4.8-3.fc44
Manual pages documenting API of the libmariadb.so library
sudo dnf install mariadb-connector-c-docmariadb-connector-c-test 3.4.8-3.fc44
Testsuite files for mariadb-connector-c
sudo dnf install mariadb-connector-c-testmariadb-libs 12.3.2-2
MariaDB libraries
sudo pacman -S mariadb-libsmariadb-lts-libs 11.8.8-1
MariaDB libraries (LTS)
sudo pacman -S mariadb-lts-libslibmariadb-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-devellibmariadb3 3.4.8-1.1
MariaDB connector in C
https://github.com/MariaDB/mariadb-connector-c
sudo zypper install libmariadb3libmariadb3-32bit 3.4.8-1.1
MariaDB connector in C
https://github.com/MariaDB/mariadb-connector-c
sudo zypper install libmariadb3-32bitlibmariadb_plugins 3.4.8-1.1
Plugins for the MariaDB C Connector
https://github.com/MariaDB/mariadb-connector-c
sudo zypper install libmariadb_pluginslibmariadbprivate 3.4.8-1.1
Additional internal libraries for the MariaDB C Connector
https://github.com/MariaDB/mariadb-connector-c
sudo zypper install libmariadbprivatesource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.