Skip to content

mariadb-corporation/mariadb-dev

v26.10.3GPL-2.0

MariaDB skills and the native mariadb-shell MCP server for Hermes Agent.

mariadb-connector-cpp-usage

MariaDB-specific behavior of MariaDB Connector/C++ (the sql:: namespace API, modeled on JDBC 4.0) for application code — that a driver comes from sql::mariadb::get_driver_instance() and connections from driver->connect(url, props), returning a raw Connection* you must own; that the URL is jdbc:mariadb://host:port/database[?opt=val]; that PreparedStatement parameter indexes and ResultSet column indexes are 1-based, not 0-based; that ? is the only placeholder; that ResultSet::next() must be called before the first read; that the API returns raw pointers with no automatic cleanup — wrap them in std::unique_ptr or close() explicitly, child before parent; that sql::SQLString is the parameter/return type throughout; that autocommit defaults to true; that errors surface as sql::SQLException; and that it is built on Connector/C. Use when writing or reviewing C++ code that talks to MariaDB via Connector/C++ (the sql:: API).

Read SKILL.md at the source

Pinned to revision 2206a90dc255, so it is the text this page describes rather than whatever the author pushed since.

Files

Every link opens the file at its source, pinned to the revision this page describes.