A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mariadb.com/docs/connectors/mariadb-connector-cpp/install-mariadb-connector-cpp below:

Install MariaDB Connector/C++ | MariaDB Documentation

Install MariaDB Connector/C++ | MariaDB Documentation
  1. Connector/C++
Install MariaDB Connector/C++

MariaDB Connector/C++ has dependencies. You must install MariaDB Connector/C to use it.

For additional information, see "MariaDB Connector/C++ Release Notes".

Linux Installation (Binary Tarball)

To install MariaDB Connector/C++ on Linux:

  1. Ensure the "Product" dropdown reads "C++ connector."

  2. In the "Version" dropdown, select the version you want to download.

  3. In the "OS" dropdown, select the Linux distribution you want to use.

  4. Click the "Download" button to download the binary tarball.

  5. Extract the tarball:

    $ tar -xvzf mariadb-connector-cpp-*.tar.gz
  6. Change into the relevant directory:

    $ cd mariadb-connector-cpp-*/
  7. Install the directories for the header files:

    $ sudo install -d /usr/include/mariadb/conncpp
    $ sudo install -d /usr/include/mariadb/conncpp/compat
  8. Install the header files:

    $ sudo install include/mariadb/* /usr/include/mariadb/
    $ sudo install include/mariadb/conncpp/* /usr/include/mariadb/conncpp
    $ sudo install include/mariadb/conncpp/compat/* /usr/include/mariadb/conncpp/compat
  9. Install the directories for the shared libraries:

  1. Install the shared libraries:

Windows Installation (MSI)

To install MariaDB Connector/C++ on Windows:

  1. MariaDB Connector/C dependency will be installed when Connector/C++ is installed.

  2. Ensure the "Product" dropdown reads "C++ connector."

  3. In the "Version" dropdown, select the version you want to download.

  4. In the "OS" dropdown, select either "MS Windows (64-bit)" or "MS Windows (32-bit)", depending on whether you need a 64-bit or 32-bit connector.

  5. Click the "Download" button to download the MSI package.

  6. Run the MSI package and click "Next" to start the Setup Wizard.

  7. On the second screen, click the license agreement checkbox, then click "Next."

  8. On the third screen, click "Typical."

  9. On the fourth screen, click "Install."

  10. Add the directory path that contains the mariadbcpp LIB file (example "C:\Program Files\MariaDB\MariaDB C++ Connector 64-bit") to PATH environment variable.

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


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4