MariaDB Connector/C++ Guide
Quickstart Guide for Connector/C++
MariaDB Connector/C++ Quickstart Guide
MariaDB Connector/C++ allows your C++ applications to connect to MariaDB databases, including support for TLS encryption. It provides an object-oriented design and leverages smart pointers for efficient memory management.
Why Choose Connector/C++?
While you can use MariaDB Connector/C for C++ applications, Connector/C++ offers specific advantages for C++ development:
Feature
Connector/C++
Connector/C
Executes SQL
Yes
Yes
Object-Oriented
Yes
No
Smart Pointers
Yes
No
Implements JDBC API
Yes
No
Next Steps
To get started with MariaDB Connector/C++, you'll typically need to:
Download the Connector/C++ library. Look for the appropriate package for your operating system and development environment.
Integrate the library into your C++ project. This usually involves including header files and linking against the library during compilation.
Write C++ code to establish a connection, execute SQL queries, and process results using the object-oriented API.
Unfortunately, the content you provided does not include specific installation instructions or code examples for MariaDB Connector/C++. If you have further documentation for installation or usage examples, please provide it, and I can help integrate it into this quickstart guide.
This page is: Copyright © 2025 MariaDB. All rights reserved.
Last updated
Was this helpful?