All pages
Powered by GitBook
1 of 3

Loading...

Loading...

Loading...

Other C & C++ Connectors

Explore C and C++ connectors for MariaDB beyond the official offerings. This section covers alternative client libraries and methods for robust, high-performance database interactions.

C++ Client Library

mariadb++ is a C++ client library for connecting applications to MariaDB and MySQL databases, built on the mariadb-native-client library and maintained on GitHub.

MySQL Client Library 3.23.58

MySQL client library 3.23.58 is an archived LGPL release for non-GPL distribution use cases, with known limitations including no prepared statements and deprecated password authentication.

This page is: Copyright © 2026 MariaDB. All rights reserved.

C++ Client Library

mariadb++ is a C++ client library for connecting applications to MariaDB and MySQL databases, built on the mariadb-native-client library and maintained on GitHub.

mariadb++ is a client library for C++ development allowing applications to connect to MariaDB and MySQL databases based on the mariadb-native-client library.

The library was originally developed by Sylvain Rochette and is now maintained .

This page is: Copyright © 2026 MariaDB. All rights reserved.

on GitHub

MySQL Client Library 3.23.58

MySQL client library 3.23.58 is an archived LGPL release for non-GPL distribution use cases, with known limitations including no prepared statements and deprecated password authentication.

Download | Release Notes

Release date: 30 Aug 2010

Note that this library is superseded by the new MariaDB Client Library for C, which is also LGPL.

This is the LGPL MySQL client library version 3.23.58. This library can be used to connect to MySQL or MariaDB.

Normally, you should use the standard libmysql client library to connect to MariaDB/MySQL. The main reason for wanting to use this one is if you want to distribute your non-GPL application with MySQL support (to provide some optional feature), but don't want to change the license of your application to GPL.

This code is based on the LGPL libmysql client library from MySQL 3.23.

The following are the main known limitations:

  • You have to compile your application(s) to use this library (as the structures used by the C API are a bit different)

  • You have to use the --old-password option in MySQL (as the old client library only supports the old authentication)

  • You can't use prepared statements (as the old client library doesn't have support for these)

This library could be used as the basis for a full, up-to-date LGPL MariaDB client library that is a binary drop-in replacement for the current MySQL /MariaDB GPL library.

Besides using this library as the basis, the other options are:

  • Use the new , which is also LGPL.

  • Write a new client library from scratch.

  • Use the Drizzle client library as the base for a new client library.

Monty Program AB is about to start a project for creating a new free client library that is binary compatible with the old client library. See about this for more information.

If you want to be part of this development effort, you can discuss this on the .

If you are interested in sponsoring this effort, you can contact Monty Program.

  • The new is also LGPL.

This page is: Copyright © 2026 MariaDB. All rights reserved.

Not all client character sets are supported.

  • It doesn't compile on Windows (should not be hard to fix; It's mainly the compiler environment files that are missing)

  • It's not as secure as the standard libmysql as it uses the old password protocol.

  • See also:

    Be notified of new MariaDB Server releases automatically by to the MariaDB Foundation community announcement 'at lists.mariadb.org announcement list (this is a low traffic, announce-only list). MariaDB plc customers will be notified of all new releases, security issues, and low-traffic critical bug fixes for all MariaDB plc products, thanks to the Notification Services.

    MariaDB may already be included in your favorite OS distribution. More Information can be found on the page.

    MariaDB Client Library for C
    Monty's blog
    maria-developers mailing list
    MariaDB Client Library for C
    Worklog for the MySQL 3.23 client library
    Worklog for a new free MariaDB client library
    subscribing
    Distributions Include MariaDB
    spinner
    spinner