mysql-connector-c++
« Back to VersTracker
Description:
MySQL database connector for C++ applications
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Databases
Tags: mysql c++ database connector jdbc devapi
Install: brew install mysql-connector-c++
About:
MySQL Connector/C++ is a C++ API for connecting to MySQL servers. It provides a modern, object-oriented interface for database communication, supporting both the legacy JDBC-based API and the newer X DevAPI for document-store operations. This library enables developers to build high-performance applications with secure server communication and efficient data handling.
Key Features:
  • Supports X DevAPI for document-store and relational operations
  • Compatible with MySQL Server 5.7, 8.0, and higher
  • Provides both JDBC-style and modern C++ APIs
  • Supports TLS/SSL encrypted connections
  • Asynchronous operations for improved performance
Use Cases:
  • Building C++ applications that require robust MySQL database connectivity
  • Developing microservices that interact with MySQL document stores
  • Creating high-performance data processing pipelines with MySQL backend
Alternatives:
  • libmysqlclient – Official C API; lower-level but more widely available
  • sqlpp11 – Type-safe SQL embedded in C++; compile-time query validation
  • soci – Database-agnostic abstraction layer; supports multiple backends
Version History
Detected Version Rev Change Commit
Sep 16, 2025 6:06am 0 VERSION_BUMP 12fa611b
Nov 3, 2024 2:07pm 0 VERSION_BUMP 77f22628
Oct 27, 2024 5:57pm 0 VERSION_BUMP 75916963
Oct 27, 2024 5:49pm 0 VERSION_BUMP e8131745